Commit Graph

34 Commits

Author SHA1 Message Date
oto
ab37e797de elaborated a moment 2022-08-07 09:24:40 +03:00
oto
344f2e2909 added brackets to the player name 2022-08-07 09:24:27 +03:00
oto
bc3d3b59c9 Explained some stuff 2022-08-07 09:24:05 +03:00
oto
855e53befe Fixed a syntax error 2022-08-07 09:23:52 +03:00
oto
8dd2035167 Added win condition logic
It was the hardest to implement, but yay, I did it.
2022-08-07 09:23:10 +03:00
oto
a9b8409928 removed an excessive space 2022-08-07 09:22:16 +03:00
oto
5b74ecef52 Added default rules
Same as in regular classic TicTacToe.
2022-08-07 09:22:06 +03:00
oto
418420063a error message fix 2022-07-25 18:48:14 +03:00
oto
1327480331 returned the call that adds marks to players 2022-07-25 18:47:17 +03:00
oto
1d09a1016f renamed a method for uniformity 2022-07-25 18:39:12 +03:00
RomulAugustus
f68f7385f0 Implemented proper time counting 2022-07-25 18:16:15 +03:00
RomulAugustus
97957238fb Create Main.py 2022-07-25 17:51:21 +03:00
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