1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
a8bb242385
Better way of setting defaults 2018-03-01 08:46:53 -05:00
34b985fa77
Refactor controllers a bit 2018-02-23 13:51:24 -05:00
08786460d0
Pipe all the things 2018-02-23 13:51:24 -05:00
4745a2cce1
Add back the user/opponent preload 2018-02-23 13:51:23 -05:00
66c2bf2817
Refactor Game controller queries 2018-02-23 13:51:23 -05:00
21d843ebc8
Refactor current_user 2018-02-23 13:51:23 -05:00
5511ef0a06
Restrict game viewing to players 2018-02-23 13:51:22 -05:00
8634d7aa9f
Show opponent on game screen 2018-02-23 13:51:22 -05:00
8f19a086df
Game controller accepts opponent id 2018-02-23 13:51:21 -05:00
fffff9624e
WIP: Opponent is now required
Only the tests fail with "can't be blank" for some reason...
2018-02-23 13:51:21 -05:00
46c3109b7c
Game now has an opponent 2018-02-23 13:51:21 -05:00
3c6cceabaa
Small style fix 2018-02-19 11:20:28 -05:00
e88545de0c
Fix some Credo warnings 2018-02-19 11:16:00 -05:00
ea79ba962a
Games are now associated to a user 2018-02-18 11:51:36 -05:00
6697231935
Move models into lib/chess 2018-01-12 17:24:13 -05:00
43a4299478
Upgrade to Phoenix 1.3
I've also moved everything around to match the new Phoenix 1.3 directory
structure.
2018-01-12 16:47:26 -05:00