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

13 Commits

Author SHA1 Message Date
7ff1b03f89
Refactor the board data structure
Now we're only storing the pieces keyed by the piece position rather
than storing the entire board as a set of nested Maps. This makes moving
pieces much easier. We're also now storing the position as a pair of
array indices which should make calculating the possible moves easier.
2017-01-18 16:36:38 +00:00
7c847d5c94
Format the fucking code 2016-12-22 10:26:48 +00:00
34a3d48260
Fix the fucking tests 2016-12-11 20:45:47 +00:00
6f7a6e1288 Tidy the fuck up a little 2016-12-10 19:35:01 +01:00
6291cbbff0 Redirect to game on creation 2016-12-10 19:35:01 +01:00
Rob Whittaker
8b6811d13a Update with fucking moves 2016-12-10 19:35:01 +01:00
Rob Whittaker
33796e88c4 Put games in the right fucking order 2016-12-10 19:35:01 +01:00
3989b97281 Pattern matching FTW \o/ 2016-12-10 19:35:01 +01:00
Rob Whittaker
e1e7ae8905 Push changes to the API 2016-12-10 19:35:01 +01:00
f6c38661c7 Create new games and display them 2016-12-10 19:35:01 +01:00
Rob Whittaker
4ee91a6228 Move things into the API namespace 2016-12-10 19:35:01 +01:00
Rob Whittaker
02ad2c951b Make AJAX request when mounting ChessBoard 2016-12-10 19:35:01 +01:00
418eaa6f47 Make it a Phoenix app 2016-12-10 19:35:01 +01:00