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
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
841ccac462
Move API and channel to their own services
2018-03-09 13:11:12 -05:00
dependabot[bot]
45191d1b52
Bump phoenix from 1.3.0 to 1.3.2
...
Bumps [phoenix](https://github.com/phoenixframework/phoenix ) from 1.3.0 to 1.3.2.
- [Changelog](https://github.com/phoenixframework/phoenix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/phoenixframework/phoenix/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-03-09 05:20:08 +00: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
7529aa9d24
Simplify user factory
2018-03-03 20:43:58 -05:00
f3d2010e93
Enable concurrent Wallaby tests
2018-03-03 20:43:45 -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
c92b1b5aef
Add name to user
2018-03-03 20:24:32 -05:00
4340d0e5bf
Add Codeship deploy script
2018-03-02 15:26:53 -05:00
dcff5712b8
Respond to feedback
2018-03-02 13:03:31 -05:00
eb04f275e2
Make board size a variable
...
And make all the internal sizes dependent on that size. This will make
it easier to resize the board later.
2018-03-02 11:45:36 -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
846bba69e0
Couple of style fixes
2018-03-01 09:05:07 -05:00
eb7e171551
Figure we should validate required first
2018-03-01 08:55:44 -05:00
760ffdc35d
Vim sort did not do the job
2018-03-01 08:55:15 -05:00
b24a485f4e
Clean up SCSS
2018-03-01 08:53:35 -05:00
a8bb242385
Better way of setting defaults
2018-03-01 08:46:53 -05:00
d982d19713
Fix linter errors
2018-02-28 11:02:59 -05:00
059b45d40d
More idiomatic Elixir
2018-02-28 10:12:26 -05:00
3c50811d24
Wrong app name in production config
2018-02-28 10:12:12 -05:00
4470e1f926
🐕 🔫
2018-02-28 10:11:54 -05:00
25bc337424
Add hound configuration
2018-02-27 23:02:32 -05:00
8ec51f6ea8
Hound fix
2018-02-27 22:49:00 -05:00
73c662d299
Ensure squares can be clicked on in tests
2018-02-27 22:34:51 -05:00
fe3c223a13
Let's only log on connection error
2018-02-27 22:16:03 -05:00
d129094b6d
Missed a td
2018-02-27 22:15:15 -05:00
3eb17d7d28
Add Elixir buildpack config
2018-02-27 20:25:09 -05:00
f699c88444
Render the board with flexbox
...
For realsies this time!
2018-02-27 20:20:15 -05:00
559bf394ef
Update Elixir version
...
It was running on this version anyway!
2018-02-27 19:27:41 -05:00
1a13a178a1
Add check origin config for production
2018-02-26 23:26:04 -05:00
59f16d7413
Add debugging for channels
2018-02-26 22:59:55 -05:00
538758d97f
Sort CSS properties
2018-02-26 22:59:44 -05:00
c95f1c6032
Add turn indicator
2018-02-26 22:51:23 -05:00
90e330e3a0
Restyle chessboard
2018-02-26 10:14:41 -05:00
a39943559e
Missed a bunch of semicolons
2018-02-25 18:23:55 -05:00
eadac8f89c
Use ES6 for JSHint
2018-02-25 18:21:42 -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