Commit Graph

68 Commits

Author SHA1 Message Date
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
LinlyBoi
6b4aa377a0 partial eq for disk 2023-05-04 18:47:07 +03:00
LinlyBoi
ef5a6f7ee3 started the testing :D 2023-05-04 17:04:50 +03:00
LinlyBoi
9146f5be0b feat: heuristic calculations (need tests) 2023-05-04 14:08:44 +03:00
LinlyBoi
1e45e93a68 swapped one raylib sample for another 2023-05-03 00:12:11 +03:00
LinlyBoi
6e8fed68fd removed silly comments 2023-05-03 00:11:56 +03:00
LinlyBoi
e016d5f358 heuristic scan (needs tests) and constants 2023-05-03 00:11:50 +03:00
LinlyBoi
8d07cbb51d idkmanpls 2023-05-02 21:35:22 +03:00
LinlyBoi
f41b868752 death to indices 2023-05-02 21:35:15 +03:00
LinlyBoi
ead76cef1a heuristic file oh boy 2023-05-02 20:35:04 +03:00
LinlyBoi
5af5885746 comment out dbgs 2023-05-02 19:13:19 +03:00
LinlyBoi
e4bd4ae903 test to ensure that diagonal scores are ensured 2023-05-02 19:08:12 +03:00
LinlyBoi
dc6cdff378 diagonal added to legal moves 2023-05-02 19:08:05 +03:00
LinlyBoi
ace98c4e3f one test for the one test 2023-05-02 18:37:32 +03:00
LinlyBoi
769d40af39 refactored scores to make sense and check on each insertion :D 2023-05-02 18:37:24 +03:00
LinlyBoi
09899d5a82 accidentally switched up indices 2023-05-02 18:37:14 +03:00
LinlyBoi
f9f150ef5f funny comment 2023-05-02 17:59:59 +03:00
LinlyBoi
a8f0ed948f ignore this 2023-05-02 17:56:23 +03:00
LinlyBoi
32592e4547 game over test and one more variant assertion 2023-05-02 17:56:14 +03:00
LinlyBoi
5bc294388f public use for indices for the module :D 2023-05-02 17:55:53 +03:00
LinlyBoi
9deef3ba5b migrated index manipulation functions to a new file 2023-05-02 17:55:41 +03:00
LinlyBoi
3d3d6fb3f9 all tests passed :D 2023-05-02 17:35:03 +03:00
LinlyBoi
dd22d7f63a more debugging in case 2023-05-02 17:35:00 +03:00
LinlyBoi
1c44006ff4 pls help 2023-05-02 14:38:15 +03:00
LinlyBoi
5225821adc tests that work...gone 2023-05-02 02:20:22 +03:00
LinlyBoi
21f8976e5e uncommented hardwork :( 2023-05-02 02:20:18 +03:00
LinlyBoi
70c0827205 functional programming 2023-05-02 02:20:13 +03:00
LinlyBoi
5def7bdace why do these even show up here? 2023-05-01 23:19:54 +03:00
LinlyBoi
733745ef30 all tests for possible scores 2023-05-01 23:19:39 +03:00
LinlyBoi
f992f2331f removed dbgs and hint comments 2023-05-01 23:19:31 +03:00
LinlyBoi
23fc7aa872 renamed BLUE to BLU for consistency 2023-05-01 23:18:32 +03:00