Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
- 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/
|
|
|
|
|
|
|
|
also moves `moves` into the game object and moves updating `moves` to
game:update
|
|
refactors the way mill? is written to make it a little more versatile
|
|
|
|
|