Commit Graph

8 Commits (9bf31e86cef62bed76a35353e791768960b14d70)

Author SHA1 Message Date
Dozens B. McCuzzins 9bf31e86ce Move error handling to front-end
game.validate-move will now return an error code is the move is invalid.
default error messages are found in lib/constants.fnl. error handling is
now handled on the front end.
2024-06-23 15:41:31 -06:00
Dozens B. McCuzzins c7b2c98200 🗄️ big tidy up
- isolate core game logic and move it to src/game.fnl
- main.fnl should be just the ui now
- move all table funcs into lib/table
- move all (1) string funcs into lib/string
- move all game funcs into lib/game/
2024-06-20 09:17:06 -06:00
Dozens B. McCuzzins ce09973e7c feat: add end game 2024-06-18 19:43:51 -06:00
Dozens B. McCuzzins 1250f9f057 feat: add flying phase 2024-06-14 21:52:00 -06:00
Dozens B. McCuzzins f985dc4e5c feat: add moving phase
also moves `moves` into the game object and moves updating `moves` to
game:update
2024-06-06 22:49:52 -06:00
dozens 7776b2011a feat: capturing cannot break a mill
refactors the way mill? is written to make it a little more versatile
2024-06-05 21:53:45 -06:00
Dozens B. McCuzzins 7c07d6e6ec tests 2024-06-02 21:44:17 -06:00
Dozens B. McCuzzins f265d24c0c inits 2024-05-28 15:04:00 -06:00