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

492 Commits

Author SHA1 Message Date
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
35d1f33f76
Use CSS vars and media queries to resize board
This should mostly keep the board entirely within the viewport.
2018-04-06 13:27:22 -04:00
2e319f762a
Add board labels 2018-04-06 11:35:31 -04:00
c65c488bd4
Tweak board styling and remove unneeded styles 2018-04-06 11:35:31 -04:00
0b5e26e5c9
Use CSS grid to layout the board 2018-04-06 11:35:31 -04:00
eb72a4cde6
I'm ok with using @extend 2018-04-06 11:35:31 -04:00
188bb1830b
Make email fields emails 2018-04-06 11:34:58 -04:00
a8c412b207
Tweak check validation message 2018-03-31 15:32:26 -04:00
9c0629f9a7
Use if rather than cond 2018-03-31 15:21:48 -04:00
8bb9bb2ae5
These functions should be private 2018-03-31 15:21:48 -04:00
49540d72bd
Notification if move would result in check 2018-03-31 15:21:48 -04:00
048db4c71c
Rename function 2018-03-31 15:21:48 -04:00
320cb03b1f
Add tests for king in check 2018-03-31 15:21:47 -04:00
fd3fad05d1
Add board tests 2018-03-31 15:21:47 -04:00