Commit Graph

98 Commits

Author SHA1 Message Date
LinlyBoi
a36c89ad51 let him COOK 2023-05-10 12:25:31 +03:00
LinlyBoi
ca1cf55b15 used constants instead of hard coding and moved the display slightly 2023-05-10 08:53:48 +03:00
LinlyBoi
5d9a101ee7 moved consts here 2023-05-10 08:53:29 +03:00
LinlyBoi
a6072f8b5f this needed to stop 2023-05-10 08:53:25 +03:00
LinlyBoi
69dfe217d6 once again tweaking those values 2023-05-10 08:53:09 +03:00
LinlyBoi
f31750961b it was a misinput calm down 2023-05-10 08:52:59 +03:00
LinlyBoi
b6caa7f512 more elements displayed so it doesn't look SUPER ugly 2023-05-10 08:16:48 +03:00
LinlyBoi
356d354db9 added the new parameter missing for "scan) 2023-05-10 08:16:32 +03:00
LinlyBoi
bdfb102122 fixed the score check bug that burnt out me couldn't fix 2023-05-10 08:16:19 +03:00
LinlyBoi
9f88e6d99e literally copy pasted the heuristic scan function here with some minor adjustments 2023-05-10 08:15:54 +03:00
LinlyBoi
4d1c11594a dbg the time for tests to show time elapsed too 2023-05-10 08:15:02 +03:00
LinlyBoi
9b905b6148 I was too tired and put the wrong variables :( 2023-05-10 08:14:48 +03:00
Linly
cfef9e6faf Merge pull request #3 from LinlyBoi/raylib-time
Raylib time
2023-05-07 00:01:05 +03:00
LinlyBoi
bc2e56f4b9 time calculation + feature selection 2023-05-06 23:24:15 +03:00
LinlyBoi
31f5b2cdc7 EVERYTHING IS WORKING 2023-05-06 23:14:19 +03:00
LinlyBoi
59474b531a ALMOST DONE AAAAA 2023-05-06 22:26:41 +03:00
LinlyBoi
f6ebf19ef4 my first if let statement :D 2023-05-06 20:26:47 +03:00
LinlyBoi
1c8aa43983 refactor to adjust for playstates 2023-05-06 18:04:32 +03:00
LinlyBoi
5bebf782eb play state and menu state are separate now 2023-05-06 17:50:59 +03:00
LinlyBoi
e42a30a4c6 RED/BLU? more like P1 P2 2023-05-06 13:57:39 +03:00
LinlyBoi
01b8d7fb15 when I come to look back at this...in 2 days 2023-05-06 12:57:49 +03:00
LinlyBoi
f896fc1c3a I am stopdid with indexes 2023-05-06 12:57:19 +03:00
LinlyBoi
cd4ee43e9b mouse position function 2023-05-06 12:24:37 +03:00
LinlyBoi
080452137e game state struct 2023-05-06 12:24:29 +03:00
LinlyBoi
95108e1323 cargo fix my beloved 2023-05-06 11:49:57 +03:00
LinlyBoi
f31f259715 working circle drawing :D 2023-05-06 11:37:38 +03:00
LinlyBoi
89dc143f1a silly TODO comment 2023-05-06 11:25:49 +03:00
LinlyBoi
06c1131267 added circle coordinate function 2023-05-06 11:25:24 +03:00
LinlyBoi
b61e95aa19 removed pooopy unused thiongs 2023-05-06 10:54:45 +03:00
LinlyBoi
baa61a1f04 CENTERED THE THING (grid up next) 2023-05-06 10:54:34 +03:00
LinlyBoi
3e1d265857 more resources :D 2023-05-06 10:53:59 +03:00
LinlyBoi
cbf08728f4 board started :DDD 2023-05-06 10:45:51 +03:00
LinlyBoi
36ab67bfff minimax hotfix (logical erros oops) 2023-05-06 09:00:16 +03:00
Linly
a02f8241ce Merge pull request #2 from LinlyBoi/mini-max
Mini max
2023-05-05 22:13:55 +03:00
LinlyBoi
1e5c0656f1 ??? 2023-05-05 22:12:15 +03:00
LinlyBoi
9797a4daaf minimax done :D 2023-05-05 21:59:43 +03:00
LinlyBoi
c8be17a26a variable to store last move added for AI moves 2023-05-05 21:59:38 +03:00
Linly
bd5daa17f1 Merge pull request #1 from LinlyBoi/score_checking
Score checking
2023-05-05 16:11:23 +03:00
LinlyBoi
75e946d9ee Cleaned up commented code, get_wins and get_streaks are now separate :D 2023-05-05 15:56:43 +03:00
LinlyBoi
f23e147a20 skeleton for minimax (pls help) 2023-05-05 15:45:58 +03:00
LinlyBoi
3a6829b5b6 adjusted the tests to new column and rows :DDDD 2023-05-05 15:45:47 +03:00
LinlyBoi
c3f53436a9 flipped column and row numbers (i forgor) 2023-05-05 15:45:36 +03:00
LinlyBoi
9f6f97cc70 _ makes the thing not yell at me 2023-05-04 22:52:19 +03:00
LinlyBoi
b16b95a5c7 imports needed 2023-05-04 22:52:09 +03:00
LinlyBoi
85e022f0fb moved to the tests file 2023-05-04 22:52:02 +03:00
LinlyBoi
0959ff00e6 not hardcoded oop 2023-05-04 22:51:53 +03:00
LinlyBoi
c1eac620fe Sequences and Win tests passed :D 2023-05-04 21:16:06 +03:00
LinlyBoi
63242e1bce moved heuristic test to its own file 2023-05-04 21:15:26 +03:00
LinlyBoi
ced0fd48a0 why do these keep pooping up pls 2023-05-04 20:17:42 +03:00
LinlyBoi
fef292c69d heuristic potential wins pass :D 2023-05-04 18:47:18 +03:00