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

116 Commits

Author SHA1 Message Date
8f683dd73f Mix format 2023-02-04 21:35:56 -06:00
69f05a1c5d Fix tests 2023-02-04 21:33:48 -06:00
c61b716728
Upgrade deps, fix a bunch of deprecations 2021-01-04 16:41:48 -05:00
41c9e28457
Fix up specs for opponent finder 2018-10-12 16:21:10 -04:00
ecf87aa632
Add queries for finding opponents 2018-10-12 16:21:10 -04:00
9349af64a0
We are treating name as more like a username
Therefore it should be a unique way of identifying a user.
2018-10-12 16:21:10 -04:00
b5e0d41756
Sign in a newly registered user 2018-09-28 13:47:28 -04:00
bedd6605ef
Redesign whole site in B&W
* Forms and board tweaks for small screen sizes
* Re-style game status indicators
* Re-style viewing/offline indicator
* Better eyecons 👁
* Re-organise CSS according to ITCSS principles
* Pick new font from Google Fonts
* Fix up tests
* Move some things into partials
2018-09-16 14:02:52 -04:00
27a4492432
The password "ganonsucks" was causing Argon2 errors
No idea why this was!
2018-09-08 16:57:42 -04:00
6ee029fa23
Send opponent an email if they're offline 2018-09-08 16:57:20 -04:00
3f1241e3a7
🤓 2018-09-08 16:57:19 -04:00
7280c98cc9
Show user status 2018-09-08 16:57:19 -04:00
eb28da621e
Add first few channel tests 2018-09-08 16:56:52 -04:00
b500ac5068
Add socket authentication tests 2018-09-08 16:56:52 -04:00
95b565231a
Adjust email and test for subject 2018-09-08 16:56:52 -04:00
2bf71e882f
Send email to opponent when new game is created 2018-09-08 16:56:52 -04:00
bc5c6c4f04
Add profile page to update name and email
* Also add ability to change password
2018-08-13 22:12:32 -04:00
725a96c2aa
Renamed the app 2018-08-11 21:30:59 -04:00
9e36945f8d
Castling moves! ♔→←♖ 2018-06-08 10:57:31 -04:00
193580d7b6
Move these outside the describe 2018-05-25 15:49:09 -04:00
c2c6b81cb8
Hound 2018-05-13 18:15:01 -04:00
fff2c342ff
Boards need a king on both sides 2018-05-12 13:20:47 -04:00
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
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
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
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
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
0649f0f937
Extra space 2018-04-13 10:56:15 -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
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
aa7f685521
Check for attacks from pawns 2018-03-31 15:21:47 -04:00
6c944243fb
Re-organise pieces 2018-03-31 15:21:47 -04:00
18aa9faab4
Determine whether a piece is being attacked
This also refactors a bunch of the movement generation code to simplify
things and make it more flexible. This allows us to use the same code to
check pieces under attack.

* Still need to add pawns
2018-03-31 15:21:47 -04:00
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