Commit graph

26 commits

Author SHA1 Message Date
d28739201a added controls through arguments 2022-04-04 20:29:47 +03:00
e1acc7d803 added score counting 2022-04-04 19:49:36 +03:00
56a80cf57e added accessors and doc comments 2022-04-04 19:13:58 +03:00
506d1570f3 improved display, added headline with infos on game 2022-04-04 19:10:22 +03:00
63d8fe2470 better module structure, and added prelude 2022-04-04 18:42:13 +03:00
0639869590 began simulated controller 2022-04-04 18:32:05 +03:00
ddfb320a11 began score 2022-04-04 18:31:42 +03:00
17b7f7f62e typo 2022-04-04 18:27:23 +03:00
32cf3d280b big refactor
- moved display logic into their own module for less cluttering
- made abstractions for the display process
so it can be owned by the game manager
and game may be played without displays.
- separated the main game management from the game struct
makes it easier to clone games and play few turns on the fly.
2022-04-04 18:22:57 +03:00
b5a38cff72 added constructor to the random controller 2022-04-04 17:32:21 +03:00
4c821be1fe implemented random controller 2022-04-04 17:13:37 +03:00
3f2058e332 implemented pause time between turn 2022-04-04 17:13:10 +03:00
e1215a56d6 made game independent of controller 2022-04-04 16:50:49 +03:00
2b496865f7 refactored controller module to allow expansion 2022-04-04 16:22:59 +03:00
772b85b0b7 added seeding colors 2022-04-04 16:22:04 +03:00
855cdbd235 tweaked colors 2022-04-04 16:02:12 +03:00
a7b292c1e7 more debug options 2022-04-04 15:54:29 +03:00
a905ad064d added colors 2022-04-04 15:48:45 +03:00
417c596322 better comments 2022-04-04 15:18:28 +03:00
eea55fa02d added doc 2022-04-04 15:12:27 +03:00
22fab08702 better error handling 2022-04-04 15:10:15 +03:00
5fde51e81b changed standard to hard tabulations 2022-04-04 15:05:36 +03:00
0b7e0f847c refactorized 2022-04-04 15:04:53 +03:00
f6a5fb6985 refactoring 2022-04-04 14:47:26 +03:00
ce55e6a545 static building 2022-04-04 14:44:34 +03:00
0d492adb0a initial release 2022-04-04 14:23:20 +03:00