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

58 Commits

Author SHA1 Message Date
f19b30dfaf
Gettextify! 2018-04-13 11:25:28 -04:00
f03692c9b9
These should be using GameState 2018-04-13 10:56:15 -04:00
80d8c26552
Move game_over? to GameState 2018-04-13 10:56:15 -04:00
e63b7b9069
Add won/lost to the games list 2018-04-13 10:56:15 -04:00
5556de00b0
Show game state on the board 2018-04-13 10:52:48 -04:00
d6c0ec5f13
Welcome page i18n 2018-04-08 23:03:35 -04:00
1f9b9e02e2
Add gettext calls for i18n 2018-04-08 22:28:21 -04:00
97a23ff9e7
Extract turn_class function 2018-04-06 16:31:07 -04:00
693263fb6d
Nice one liner 2018-04-06 15:49:40 -04:00
ba70cb5f30
Show colour and whether it's your turn 2018-04-06 14:21:20 -04:00
188bb1830b
Make email fields emails 2018-04-06 11:34:58 -04:00
49540d72bd
Notification if move would result in check 2018-03-31 15:21:48 -04:00
4ffc61f075
Fix a couple of warnings 2018-03-12 11:29:22 -04:00
375be4711c
Show available moves for pawn 2018-03-12 11:29:22 -04:00
fe0c58917f
Remove unnecessary API controller 2018-03-12 11:17:26 -04:00
0d68eeabfb
Move everything to websockets 2018-03-12 11:17:26 -04:00
67f0d8f45e
Split out move feature tests and add opponent test 2018-03-09 15:29:33 -05:00
4df7dc0dae
Better number format 2018-03-09 14:51:47 -05:00
d288db3370
Add auth token for websocket 2018-03-09 14:45:52 -05:00
a271287361
Some text accidentally got added 2018-03-05 13:09:23 -05:00
ccc938fc08
Refactor game controller update 2018-03-05 10:21:48 -05:00
a05d4ad2e3
Update layout and CSS 2018-03-05 10:19:47 -05:00
a50b12b0ea
Move opponents function to User module 2018-03-04 11:38:53 -05:00
b09cb26b85
Move user into the store module 2018-03-04 11:15:33 -05:00
f3d2010e93
Enable concurrent Wallaby tests 2018-03-03 20:43:45 -05:00
155284139e
Change username to email 2018-03-03 20:24:33 -05:00
c92b1b5aef
Add name to user 2018-03-03 20:24:32 -05:00
a8bb242385
Better way of setting defaults 2018-03-01 08:46:53 -05:00
b0c6ea1ff4
Game updates are now pushed to each client 2018-02-25 16:45:15 -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
2f1411f075
Render the board correctly for the black player 2018-02-23 17:26:37 -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
88b5607a86
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
7d31ebdc98
Restrict access to API update endpoint 2018-02-23 13:51:23 -05:00
21d843ebc8
Refactor current_user 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
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
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