Commit Graph

22 Commits

Author SHA1 Message Date
RomulAugustus
c7b47b2a87 clearing is now done with a dict. method 2022-07-25 17:51:11 +03:00
RomulAugustus
12c6bd8022 Added a method to remove marks 2022-07-25 17:50:07 +03:00
RomulAugustus
25930cc7fb MERGE WITH PREV COMMIT 2022-07-25 17:49:49 +03:00
RomulAugustus
a465c966a7 added another condition to adding marks 2022-07-25 17:49:19 +03:00
RomulAugustus
8d4b05b5fe renamed a method 2022-07-25 17:48:34 +03:00
RomulAugustus
45b2fa4c43 added get_name() 2022-07-25 17:47:19 +03:00
RomulAugustus
c9b24edd8e fleshed out GameLogic a bit
* added time counting stub
* added score counting stub
* added win check stub
* made it so you pass gameMap to the logic
* you pass the list of players too
(both gameMap and playerList are assumed to be made outside when configuring the game)
*
2022-07-25 17:46:45 +03:00
RomulAugustus
a32d984e0c removed an unnecessary call (moved to gameLogic)
also removed a bunch of spaces
2022-07-25 17:10:43 +03:00
RomulAugustus
521e767741 removed color property, will be in pygame's GUI 2022-07-25 16:53:56 +03:00
RomulAugustus
db23a056ec fixed conditions for adding player marks 2022-07-25 16:53:34 +03:00
RomulAugustus
7377f74d92 made the base 2022-07-25 13:35:07 +03:00
RomulAugustus
e7f1733a8a Fixes of syntax errors; minor edits
out of minor -
* made add_player_mark() also call the player instance to record mark into it's internal list
* put the exception message into a separate variable for the sake of simpler representation
2022-07-25 13:34:50 +03:00
RomulAugustus
4e5388bd12 fixed empty class 2022-07-25 13:33:08 +03:00
RomulAugustus
12d64e5cbd Create .gitignore 2022-07-25 13:32:51 +03:00
RomulAugustus
fc13448974
Added GPL License 2022-07-25 15:51:21 +03:00
RomulAugustus
ed85380824 removed a bad function 2022-07-25 11:04:21 +03:00
RomulAugustus
a639b67972 Added an IndexError message 2022-07-25 11:00:19 +03:00
RomulAugustus
63abd8813f replaced a stub for the IndexError 2022-07-25 10:57:29 +03:00
RomulAugustus
8a2b116da5 Create Player.py 2022-07-24 20:25:44 +03:00
RomulAugustus
3e8ee20963 Create GameLogic.py 2022-07-24 20:25:40 +03:00
RomulAugustus
c1b5a80f7f Made a GameMap stub
The map is revolved around a dictionary. This way there's no need to spend computing power expanding the map, if it was a 2-dimensional list.
2022-07-24 20:25:22 +03:00
RomulAugustus
641d6be8f0 Initial commit 2022-07-24 20:23:53 +03:00