Commit Graph

59 Commits

Author SHA1 Message Date
b55ecde811 type hinting and started working on cli v2 2025-09-16 10:15:32 +12:00
7fee99cce8 started adding architecture for CPU integration 2025-09-02 12:07:28 +12:00
29e88aaf75 parallel 2025-09-02 12:06:41 +12:00
b4e5e6a5b1 lil star icon for the last dropped tile 2025-08-28 21:31:23 +12:00
41cecfc5ee cursor follows the mouse 2025-08-28 14:28:57 +12:00
a4998531ac space drops, replaces window_size, fixed smth else i forgor 2025-08-28 11:58:41 +12:00
574d79947b renamed files 2025-08-28 10:44:32 +12:00
90c8364e40 test 2025-08-28 10:43:48 +12:00
15205b7a3e turn indicator 2025-08-28 09:31:40 +12:00
60ceeb247c you can run it from outside the directory now 2025-08-27 20:30:44 +12:00
2f742dca78 todo list update 2025-08-27 20:16:40 +12:00
0bbcee8847 new menu_manager system (far cleaner), polished win + draw detection 2025-08-27 20:13:10 +12:00
e3735a3786 uk english 2025-08-27 19:56:38 +12:00
da4e921da1 win checkigngit add game.py git add game.py 2025-08-27 19:36:37 +12:00
26c88cabab draw detetection. some optimizing 2025-08-27 10:56:30 +12:00
be51abf777 dropping tiles in GUI 2025-08-22 20:59:47 +12:00
18bde75910 menu manager to make cleaner 2025-08-21 11:49:03 +12:00
f17c76d072 entering 8 doesnt crash it anymore lmao 2025-08-20 21:41:14 +12:00
e19f0411c2 no settings yet text, messed with colours for a while just to change nothing lmao 2025-08-20 14:41:15 +12:00
9ae90e1b61 holy my code was bad. optimized tile creation, made the colours nice, rounded buttons 2025-08-20 14:23:34 +12:00
e8aeee7360 ok imma stop messing with it. it looks good 2025-08-20 13:32:56 +12:00
e953c602e0 imma give up if this doesnt look good 2025-08-20 12:53:38 +12:00
eeefe6e3d0 ok surely this looks good 2025-08-20 12:52:14 +12:00
f543dbda90 oopsies i forgor how markdown 2025-08-20 12:51:20 +12:00
91e5f06950 ooh the readme looking nice now 2025-08-20 12:50:23 +12:00
3ef31d350b oops i forgot to commit. started working on a gui, fixed some bugs and added a search_depth setting 2025-08-20 12:37:15 +12:00
cee3be9334 cpu vs cpu mode, picking your colour against cpu. 2025-08-14 12:19:28 +12:00
2aec7528be tweaks to colouring 2025-08-13 10:50:42 +12:00
24112abebb 3 display options - coloured text, coloured background and emojis 2025-08-13 10:10:31 +12:00
cf288b348d that was a long session. i think minimax with alpha beta pruning works nowgit add .! 2025-08-12 22:13:18 +12:00
3a90bbd429 new algo - it draws against itself 2025-08-12 11:30:31 +12:00
f7ebe11837 ok nvm now it takes free wins 2025-08-12 11:04:45 +12:00
de0ad5a005 basic algorithm CPU - plays a random move but takes free wins and blocks instant wins 2025-08-12 10:59:25 +12:00
9a47d3fd85 i made a whole neural network but it was depressingly bad. imma try minmax with alphabeta pruning for look ahead 2025-08-12 10:43:16 +12:00
760c412a45 starting setup for AI Training - made a connect4env class 2025-08-07 10:08:20 +12:00
5255ec30c9 pvp lan is now in maintenance cuz RCE 2025-08-07 09:29:05 +12:00
58f59a3335 added some better error msgs. maybe fixed sockets staying open. 2025-08-04 11:08:02 +12:00
b6b5b08977 lots of bugs 2025-08-04 10:53:43 +12:00
2904e1406d if you enter an invalid ip, it doesnt crash lmao 2025-08-03 20:49:55 +12:00
b9d6812bf7 i dont think there are bugs. lan multiplayer is done 2025-08-03 20:29:35 +12:00
093decb9ae doing the tests with sockets for lan multiplayer 2025-08-02 19:20:56 +12:00
ddeeed525d fixed the first column (im stupid) 2025-08-02 14:49:31 +12:00
498c4c453b todo list 2025-08-02 10:51:13 +12:00
eb184b9a7d shows you where the win is. optimized stuff i think. prettier as well 2025-08-02 10:25:45 +12:00
120130e9a5 maybe working win checks? 2025-08-01 22:22:44 +12:00
2c9fdaee10 uses checkwin stub. slightly less yucky loops 2025-08-01 22:18:10 +12:00
7b2936ed02 stores player as R or Y not an entire ANSI string lmao 2025-08-01 22:13:33 +12:00
c002cebc8e removed my test script 2025-08-01 21:59:21 +12:00
f5615b0bd6 made pretty. cleaned i think 2025-08-01 21:57:54 +12:00
91b2ef653e maybe stopped pycache from commiting 2025-08-01 11:33:17 +12:00