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

36 Commits

Author SHA1 Message Date
c0dc3f44eb
Improve layout 2018-05-13 18:00:37 -04:00
659f748ada
Use grids for the game layout 2018-05-12 11:41:01 -04:00
6243259d27
Clean up moves display 2018-05-12 11:41:01 -04:00
6513cdbee0
Fix bug with state check 2018-05-12 11:39:55 -04:00
30d0750ffc
Make Chess a link 2018-04-13 16:50:37 -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
5556de00b0
Show game state on the board 2018-04-13 10:52:48 -04:00
4d7b3e158f
Fix selected/available borders 2018-04-06 16:35:24 -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
375be4711c
Show available moves for pawn 2018-03-12 11:29:22 -04:00
a05d4ad2e3
Update layout and CSS 2018-03-05 10:19:47 -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
846bba69e0
Couple of style fixes 2018-03-01 09:05:07 -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
73c662d299
Ensure squares can be clicked on in tests 2018-02-27 22:34:51 -05:00
f699c88444
Render the board with flexbox
For realsies this time!
2018-02-27 20:20:15 -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
03b974be9e
Fix hound warnings 2018-02-23 16:33:18 -05:00
65caee7e6e
Chess board is now a table 2018-02-23 16:00:44 -05:00
9681d80183
Use flexbox to render the board
Also minor refactor on the CSS
2018-02-23 14:28:21 -05:00
37a512d8d4
These need to be quoted
Turns out they get interpreted as CSS colours if they're not.
2018-02-23 13:51:22 -05:00
80160d7594
Change selected square colour to green 2018-02-19 15:13:01 -05:00
e8a148e283
Make the board grey 2018-02-19 10:16:17 -05:00
5efea25b3a
Blue looks better
Green felt too much like a casino 🃏. Chess is not a game of chance!
2018-02-19 09:38:54 -05:00
241bdd02ce
Holy SCSS Batman! 2018-02-18 16:07:14 -05:00
43a4299478
Upgrade to Phoenix 1.3
I've also moved everything around to match the new Phoenix 1.3 directory
structure.
2018-01-12 16:47:26 -05:00