Commit Graph

60 Commits

Author SHA1 Message Date
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
LinlyBoi
fbcf6c81e7 derive debug for Disks because I was losing my sanity 2023-05-01 22:27:24 +03:00
LinlyBoi
c5a49aa3d4 score checkers work (made a function for variant checking) 2023-05-01 22:27:08 +03:00
LinlyBoi
f863fe7485 tests :D 2023-05-01 00:26:44 +03:00
LinlyBoi
46be26af76 Horizotnal score checking :D 2023-05-01 00:05:50 +03:00
LinlyBoi
bf0bdecd34 2D array instead of Vec<Vec<Disk>> 2023-05-01 00:05:40 +03:00
LinlyBoi
d61f9c83f7 raylib dep :D 2023-04-29 19:33:53 +03:00
LinlyBoi
55329690d1 raylib gui template ignore this for now 2023-04-29 19:33:49 +03:00
LinlyBoi
83ea2bb22c :D 2023-04-29 19:33:41 +03:00