Commit Graph

37 Commits

Author SHA1 Message Date
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
bb6ad2ec56 pretty now :) 2025-08-01 11:32:50 +12:00
b362b3fe1d i dont think there are any bugs. win detection time. 2025-08-01 11:14:54 +12:00
cb2c99c369 can no longer override in a full column. need to fix non integer inp 2025-08-01 11:05:19 +12:00
f1cb1ddc74 try fix inputs 2025-08-01 10:51:40 +12:00
b63c52c22b YOU CAN DROP NOW (if the column is full you override other ppl lmao 2025-08-01 10:44:41 +12:00
85de7ecd85 you can kindaa drop. it drops wrong tho 2025-08-01 10:32:08 +12:00
36bfb7d407 added basic dropping, turn switching and now i just wanna make it pretty. 2025-08-01 10:18:45 +12:00
d703909b9a readme 2025-08-01 09:57:49 +12:00
3f8915d65e first commit 2025-08-01 09:56:59 +12:00