Commit Graph
23 Commits
Author SHA1 Message Date
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