Commit Graph

19 Commits

Author SHA1 Message Date
5308fb3562 Add getrandom, use js options to allow for wasm build 2022-05-25 20:42:50 -05:00
7f83f2f8cb Exchanges, initial cards 2022-05-25 18:17:00 -05:00
cab89f5d64 Switch from using dyn traits to channels for io (breaks cli for now) 2022-05-24 13:42:49 -05:00
06352344fb CLI can play some version of a whole game 2022-05-20 16:50:24 -05:00
1d6eeada83 Cli player with some ability to play 2022-05-20 14:42:16 -05:00
a4efaff9a8 Add in choose action phase 2022-05-20 13:26:26 -05:00
b41e4fa052 Actually charge for move resolutions 2022-05-20 12:01:30 -05:00
1c8ffb151c Use common structures for game phases 2022-05-20 11:55:20 -05:00
0e1381c15f Update agent interface to accept the game state (probably a bad idea...) 2022-05-20 10:51:47 -05:00
b25bd326ae Move tests to own file 2022-05-20 10:28:26 -05:00
12d0b86e78 Add readme, action challenges, admit that I did it totally wrong 2022-05-18 17:47:33 -05:00
7801eb0dd1 Some documentation 2022-05-18 14:04:39 -05:00
443e3a91c5 Cannot block with the incorrect card, Duke blocks foreign aid not income 2022-05-18 12:27:31 -05:00
30fcafe293 Added positive tests for blocking 2022-05-18 12:19:12 -05:00
a846919c88 Move phases definition to mod 2022-05-18 11:25:39 -05:00
dane
9f545949a5 GPL 2022-05-18 11:18:35 -05:00
d0f9054a1a Lose influence helper function, encoding and line endings 2022-05-18 11:14:27 -05:00
4101157e5f Add block challenge resolution phase 2022-05-17 17:17:35 -05:00
0dfad4ad30 Implement resolution phase 2022-05-17 16:10:56 -05:00