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

505 Commits

Author SHA1 Message Date
950e7a86f1
Indicate captures 2018-05-12 11:41:00 -04:00
151a993b53
Display moves in standard chess notation 2018-05-12 11:41:00 -04:00
5a04ef47bf
Render moves on the page 2018-05-12 11:41:00 -04:00
5cef37c529
Refactor available moves JS 2018-05-12 11:41:00 -04:00
5aedd339e0
Namespace all the tests 2018-05-12 11:40:59 -04:00
32536118c4
Send moves list back to client 2018-05-12 11:40:59 -04:00
87c453c564
Translate moves into display format 2018-05-12 11:40:59 -04:00
49bba88f07
Consistency 2018-05-12 11:40:59 -04:00
5fce02feb5
Possible random failure fix
Did swapping these two lines fix it? I need to keep and eye on this and
investigate if it fails again.
2018-05-12 11:40:59 -04:00
743f6d3095
Store move when it's made 2018-05-12 11:40:59 -04:00
fc5b500d27
Update moves migration 2018-05-12 11:40:58 -04:00
caa68d41f8
Make changeset function responsible for the move 2018-05-12 11:40:58 -04:00
e831297fb8
Add turn change test 2018-05-12 11:40:58 -04:00
dcdd17539b
Game has many moves 2018-05-12 11:40:58 -04:00
5dff6a4156
Tiny refactor 2018-05-12 11:40:58 -04:00
3c4d5867a3
Add move and move test 2018-05-12 11:40:57 -04:00
6513cdbee0
Fix bug with state check 2018-05-12 11:39:55 -04:00
dependabot[bot]
b73187cfe0
Bump phoenix_live_reload from 1.1.3 to 1.1.5
Bumps [phoenix_live_reload](https://github.com/phoenixframework/phoenix_live_reload) from 1.1.3 to 1.1.5.
- [Release notes](https://github.com/phoenixframework/phoenix_live_reload/releases)
- [Changelog](https://github.com/phoenixframework/phoenix_live_reload/blob/master/CHANGELOG.md)
- [Commits](https://github.com/phoenixframework/phoenix_live_reload/compare/v1.1.3...v1.1.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-10 05:22:17 +00:00
dependabot[bot]
72fd8f0df8
Bump timex_ecto from 3.2.1 to 3.3.0
Bumps [timex_ecto](https://github.com/bitwalker/timex_ecto) from 3.2.1 to 3.3.0.
- [Release notes](https://github.com/bitwalker/timex_ecto/releases)
- [Changelog](https://github.com/bitwalker/timex_ecto/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bitwalker/timex_ecto/compare/3.2.1...3.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-09 05:36:15 +00:00
812607ae36
Avoid a warning 2018-05-04 17:53:20 +02:00
55fa8a0701
Tiny transform refactor 2018-05-04 17:53:20 +02:00
69a9206046
Fix turn based problem 2018-04-27 18:29:48 +01:00
f94a41d995
Merge pull request #51 from danbee/dependabot/hex/credo-0.9.2
Bump credo from 0.9.0 to 0.9.2
2018-04-27 11:21:08 -04:00
47b08c99db
Merge pull request #50 from danbee/dependabot/hex/phoenix_html-2.11.2
Bump phoenix_html from 2.11.1 to 2.11.2
2018-04-27 11:20:54 -04:00
9ba5708105
Merge pull request #48 from danbee/dependabot/hex/wallaby-0.20.0
Bump wallaby from 0.19.2 to 0.20.0
2018-04-27 11:20:36 -04:00
dependabot[bot]
5dd9c9e54c
Bump credo from 0.9.0 to 0.9.2
Bumps [credo](https://github.com/rrrene/credo) from 0.9.0 to 0.9.2.
- [Release notes](https://github.com/rrrene/credo/releases)
- [Changelog](https://github.com/rrrene/credo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rrrene/credo/compare/v0.9.0...v0.9.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-04-20 05:40:52 +00:00
dependabot[bot]
63ddbe1bd5
Bump phoenix_html from 2.11.1 to 2.11.2
Bumps [phoenix_html](https://github.com/phoenixframework/phoenix_html) from 2.11.1 to 2.11.2.
- [Release notes](https://github.com/phoenixframework/phoenix_html/releases)
- [Changelog](https://github.com/phoenixframework/phoenix_html/blob/master/CHANGELOG.md)
- [Commits](https://github.com/phoenixframework/phoenix_html/compare/v2.11.1...v2.11.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-04-16 05:34:01 +00:00
30d0750ffc
Make Chess a link 2018-04-13 16:50:37 -04:00
677883e72d
Add gettext to JS 2018-04-13 15:43:54 -04:00
6ebc0a63cd
Refactor components that don't have internal state 2018-04-13 13:20:27 -04:00
f19b30dfaf
Gettextify! 2018-04-13 11:25:28 -04:00
f03692c9b9
These should be using GameState 2018-04-13 10:56:15 -04:00
0649f0f937
Extra space 2018-04-13 10:56:15 -04:00
80d8c26552
Move game_over? to GameState 2018-04-13 10:56:15 -04:00
d131324eaa
Better styling for check indication 2018-04-13 10:56:15 -04:00
eeb5668e26
Make game state indicator slightly transparent 2018-04-13 10:56:15 -04:00
e63b7b9069
Add won/lost to the games list 2018-04-13 10:56:15 -04:00
5bc43465ff
Style game state indicator 2018-04-13 10:52:49 -04:00
d86d94dc70
Separate out game state into its own component 2018-04-13 10:52:48 -04:00
5556de00b0
Show game state on the board 2018-04-13 10:52:48 -04:00
6b31491ad4
Checks whether a player is checkmated 2018-04-13 10:52:48 -04:00
e2826fdbce
Split out game status checks and add piece colour search 2018-04-13 10:52:48 -04:00
dependabot[bot]
daa93e9d7f
Bump wallaby from 0.19.2 to 0.20.0
Bumps [wallaby](https://github.com/keathley/wallaby) from 0.19.2 to 0.20.0.
- [Release notes](https://github.com/keathley/wallaby/releases)
- [Changelog](https://github.com/keathley/wallaby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/keathley/wallaby/compare/v0.19.2...v0.20.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-04-12 05:25:24 +00: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
6a72e5f404
Remove unneeded include 2018-04-08 21:38:51 -04:00
4d7b3e158f
Fix selected/available borders 2018-04-06 16:35:24 -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