ea635086a0
Add pawn taking moves
2018-03-14 21:47:00 -04:00
17b9108173
Kings are obstructed
2018-03-14 20:36:29 -04:00
7e1665781a
Knights are obstructed
2018-03-14 20:36:20 -04:00
5745b916c4
Better language
2018-03-14 20:35:28 -04:00
415ad8e8ee
Queens are obstructed
...
We got this for free because the queens moves combine both the rook and
bishop.
2018-03-14 18:24:16 -04:00
8a5adc44f5
Bishops can be obstructed
2018-03-14 18:24:04 -04:00
edda70b4f2
Consistent language
2018-03-14 18:23:48 -04:00
0062af2736
Rooks can be obstructed
2018-03-14 09:40:57 -04:00
2c8f2c7bcd
Pawn can be blocked
2018-03-13 22:20:48 -04:00
4513bf324c
Re-order diagonal moves
2018-03-12 15:53:33 -04:00
8c9d52a0a4
King moves
2018-03-12 15:53:33 -04:00
3a421ca213
Knight moves
2018-03-12 15:53:33 -04:00
961920740e
Use Moves.available instead of calling the module directly
2018-03-12 15:53:33 -04:00
a7fbffcb5d
Queen moves
2018-03-12 15:53:33 -04:00
af8027e6d8
💄
2018-03-12 15:53:33 -04:00
47bba0555c
Bishop moves
2018-03-12 15:53:32 -04:00
568c2cf7ff
Add Rook moves
2018-03-12 15:53:32 -04:00
375be4711c
Show available moves for pawn
2018-03-12 11:29:22 -04:00
c64d40f99a
Add basic pawn move generation
2018-03-12 11:29:21 -04:00
fe0c58917f
Remove unnecessary API controller
2018-03-12 11:17:26 -04:00
5cd3c74021
Add moduledocs
2018-03-09 15:29:34 -05:00
67f0d8f45e
Split out move feature tests and add opponent test
2018-03-09 15:29:33 -05:00
a05d4ad2e3
Update layout and CSS
2018-03-05 10:19:47 -05:00
b09cb26b85
Move user into the store module
2018-03-04 11:15:33 -05:00
7529aa9d24
Simplify user factory
2018-03-03 20:43:58 -05:00
e9cf51e57f
Add some tests for unsuccessful registration
2018-03-03 20:24:33 -05:00
155284139e
Change username to email
2018-03-03 20:24:33 -05:00
4bf4c4cb45
Fix registration test
2018-03-03 20:24:32 -05:00
7cec3fb1a9
Big test/factory refactor
2018-03-03 20:24:32 -05:00
36670245d7
More move tests
...
Specifically:
* Test that a user cannot move an opponents pieces
* Test that a user cannot move if it's not their turn
* Test that a move is reflected on the opponents view
2018-03-01 20:16:21 -05:00
a8bb242385
Better way of setting defaults
2018-03-01 08:46:53 -05:00
3b3f3e687a
Create a channel and connect the socket
2018-02-25 15:07:45 -05:00
c0facfa4d5
Players take turns
...
Restricts players to only be able to move their own pieces and only when
it's their turn.
2018-02-24 15:52:22 -05:00
7b2fa5cc8e
Update game data test to account for foreign key constraint
2018-02-23 13:51:25 -05:00
7d31ebdc98
Restrict access to API update endpoint
2018-02-23 13:51:23 -05:00
c2bb7f3052
Add API controller test
2018-02-23 13:51:22 -05:00
5511ef0a06
Restrict game viewing to players
2018-02-23 13:51:22 -05:00
070f9b1474
Fix and refactor game controller tests
2018-02-23 13:51:22 -05:00
8634d7aa9f
Show opponent on game screen
2018-02-23 13:51:22 -05:00
9b47a85d8f
Show correct opponent in the games list
2018-02-23 13:51:22 -05:00
b122c4d44f
Games list shows opponent
2018-02-23 13:51:21 -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
ea79ba962a
Games are now associated to a user
2018-02-18 11:51:36 -05:00
d5b8f7d7c2
Add uniqueness constraint
2018-02-02 15:42:07 -05:00
0568b69cbb
Move user creation in tests to a factory
2018-02-02 14:37:20 -05:00
2d816feadd
Trace will disable async tests
2018-02-02 10:59:10 -05:00
ddcb204758
Make session language consistent
2018-02-02 10:31:05 -05:00
1299d4f5e5
User can login and create games
2018-02-02 10:31:05 -05:00