oto
71e0247304
Began working on the interface
2022-08-17 14:53:32 +03:00
oto
93403cdf83
Put interface into a separate file
2022-08-17 14:53:23 +03:00
oto
a2e0504aa8
Create Constants.py
2022-08-17 14:25:56 +03:00
oto
69ce05886d
did some formatting
2022-08-17 12:38:04 +03:00
oto
e53fd7236c
Added a timer
2022-08-15 07:31:52 +03:00
oto
cb8036bc6d
Removed an excessive method
...
There's no main loop for this game, bruh. Why I put it here?..
2022-08-15 07:30:21 +03:00
oto
00da6deb24
Removed shared score var
...
A design flaw, makes no sense.
2022-08-15 07:29:50 +03:00
oto
00daf53fae
soft internalized some methods
...
Have learned how to "internalize" methods 😆
2022-08-15 07:29:25 +03:00
oto
446ffba554
Pulled out code into Timer.py
...
Made a separate class instead of keeping it in GameLogic.
2022-08-15 07:28:17 +03:00
oto
9c9db7aba9
PEP Compliance edit
2022-08-15 07:26:45 +03:00
oto
7b486881d9
Create Timer.py
...
Pulled it out of GameLogic class. Makes sense to keep it separate.
2022-08-15 07:26:15 +03:00
oto
b11f77f7ef
Update tester.py
2022-08-15 07:25:39 +03:00
oto
54a0f42137
Added score counting
...
It makes no sense to keep one score for everyone, in GameMap. A design flaw.
2022-08-15 07:25:25 +03:00
oto
d329c0f7ab
exposing my test suite. for u. to see.
2022-08-07 09:33:07 +03:00
oto
8bc369c31c
a little reminder to myself
2022-08-07 09:32:16 +03:00
oto
e8236a7e4a
made it remember its marks
2022-08-07 09:26:57 +03:00
oto
468237429e
Switched to TKinter
...
Switched since the game has no mainloop, and only works when you commit an action. It makes sense, ye know. Maybe when i'll get some better graphics i'll switch to another lib, but for now, I'll use TKinter.
2022-08-07 09:26:13 +03:00
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