Commit Graph

34 Commits

Author SHA1 Message Date
Nico 87abc848b4 final commit(?) 2022-04-10 20:21:11 +01:00
Nico b3c576b140 a bunch of crap, and new players, and stuff 2022-04-09 19:44:51 +01:00
Nico 7282958dcc a day's hacking with a whole bunch of stuff going on 2022-04-07 22:20:59 +01:00
Nico 8d12489acb make gui even hackier but now I can load game logs in it.
This is intended to be the limit to GUI functions. It's just a viewer.
I hope it stays that way, I'm going to work on players now.
2022-04-07 21:03:18 +01:00
Nico c62d8a1653 Merge branch 'main' of tildegit.org:nihilazo/dotsandboxes 2022-04-07 17:53:56 +01:00
Nico 0a8c5f301d add file loading function 2022-04-07 17:47:46 +01:00
Nico df2699c009 use quasiquote syntax to make things better 2022-04-06 14:05:21 +01:00
Nico d9d7a6ab49 make save-game function use a file, consistentize terminology 2022-04-05 22:23:56 +01:00
Nico 087fec0cdd much cleanup, first version of writing games out to files. 2022-04-05 22:05:21 +01:00
Nico c0c9dda25e changes for speed and getting things going for file writing 2022-04-05 14:58:30 +01:00
Nico a9a34af605 grid size now properly stored as part of grid. Lots of things need refactoring for speed. 2022-04-05 11:14:06 +01:00
Nico e84ee87d72 moved players into GameState so GameStates can be easily saved as records 2022-04-04 16:22:18 +01:00
Nico 8a98223d67 make players into a struct so they can have GUI names 2022-04-04 14:12:17 +01:00
Nico 0584652a18 fix remaining functions for grid becoming a structure 2022-04-04 13:58:49 +01:00
Nico 8ffad3c7b6 grid structure stuff is almost working 2022-04-04 12:27:19 +01:00
Nico df20fe9b22 start working on new grid structure as part of refactor 2022-04-04 12:07:36 +01:00
Nico 37d0a75ea7 make GameStates transparent for easier debugging 2022-04-04 11:10:13 +01:00
Nico a846b01be5 add score view 2022-04-04 11:09:04 +01:00
Nico e26d465c0e add GUI game analysis tool 2022-04-03 20:26:47 +01:00
Nico c30969c5cc fix games playing backwards 2022-04-03 20:26:38 +01:00
Nico 9fb0ca3def end of day, it's in the state that it is in 2022-04-03 19:34:50 +01:00
Nico 568ea6e2cc complete game playing code, time to write some UI and bots! 2022-04-03 18:50:25 +01:00
Nico c562465807 add more utilities and first player to make ready for programming game proper 2022-04-03 15:18:59 +01:00
Nico bd25ecc1c4 add valid-moves function, cleanup 2022-04-02 22:55:30 +01:00
Nico e4cd2808c2 finish comments 2022-04-01 23:14:22 +01:00
Nico 0681ec7ba5 add count-square function 2022-04-01 23:11:42 +01:00
Nico 8e626a6058 add function signature and tests for count-square 2022-04-01 17:01:32 +01:00
Nico 8fd5dd41b0 some cleanup 2022-03-31 16:47:03 +01:00
Nico 672bfa1232 implement basic grid rendering 2022-03-31 14:40:43 +01:00
Nico 5cc2578820 add forwards? check 2022-03-31 12:18:48 +01:00
Nico 914d2592a3 cleanup 2022-03-30 20:23:38 +01:00
Nico af9d9436f5 move tests to seperate file 2022-03-30 20:12:43 +01:00
Nico 9093548776 add licence 2022-03-30 20:09:26 +01:00
Nico f8fad90247 initial commit 2022-03-30 20:08:45 +01:00