Commit Graph

  • d01820cb63 YES main LinlyBoi 2023-05-10 16:23:20 +03:00
  • a36c89ad51 let him COOK LinlyBoi 2023-05-10 12:25:31 +03:00
  • ca1cf55b15 used constants instead of hard coding and moved the display slightly LinlyBoi 2023-05-10 08:53:48 +03:00
  • 5d9a101ee7 moved consts here LinlyBoi 2023-05-10 08:53:29 +03:00
  • a6072f8b5f this needed to stop LinlyBoi 2023-05-10 08:53:25 +03:00
  • 69dfe217d6 once again tweaking those values LinlyBoi 2023-05-10 08:53:09 +03:00
  • f31750961b it was a misinput calm down LinlyBoi 2023-05-10 08:52:59 +03:00
  • b6caa7f512 more elements displayed so it doesn't look SUPER ugly LinlyBoi 2023-05-10 08:16:48 +03:00
  • 356d354db9 added the new parameter missing for "scan) LinlyBoi 2023-05-10 08:16:32 +03:00
  • bdfb102122 fixed the score check bug that burnt out me couldn't fix LinlyBoi 2023-05-10 08:16:19 +03:00
  • 9f88e6d99e literally copy pasted the heuristic scan function here with some minor adjustments LinlyBoi 2023-05-10 08:15:54 +03:00
  • 4d1c11594a dbg the time for tests to show time elapsed too LinlyBoi 2023-05-10 08:15:02 +03:00
  • 9b905b6148 I was too tired and put the wrong variables :( LinlyBoi 2023-05-10 08:14:48 +03:00
  • cfef9e6faf Merge pull request #3 from LinlyBoi/raylib-time Linly 2023-05-07 00:01:05 +03:00
  • bc2e56f4b9 time calculation + feature selection LinlyBoi 2023-05-06 23:24:15 +03:00
  • 31f5b2cdc7 EVERYTHING IS WORKING LinlyBoi 2023-05-06 23:14:19 +03:00
  • 59474b531a ALMOST DONE AAAAA LinlyBoi 2023-05-06 22:26:41 +03:00
  • f6ebf19ef4 my first if let statement :D LinlyBoi 2023-05-06 20:26:47 +03:00
  • 1c8aa43983 refactor to adjust for playstates LinlyBoi 2023-05-06 18:04:32 +03:00
  • 5bebf782eb play state and menu state are separate now LinlyBoi 2023-05-06 17:50:59 +03:00
  • e42a30a4c6 RED/BLU? more like P1 P2 LinlyBoi 2023-05-06 13:57:39 +03:00
  • 01b8d7fb15 when I come to look back at this...in 2 days LinlyBoi 2023-05-06 12:57:49 +03:00
  • f896fc1c3a I am stopdid with indexes LinlyBoi 2023-05-06 12:57:19 +03:00
  • cd4ee43e9b mouse position function LinlyBoi 2023-05-06 12:24:37 +03:00
  • 080452137e game state struct LinlyBoi 2023-05-06 12:24:29 +03:00
  • 95108e1323 cargo fix my beloved LinlyBoi 2023-05-06 11:49:57 +03:00
  • f31f259715 working circle drawing :D LinlyBoi 2023-05-06 11:37:38 +03:00
  • 89dc143f1a silly TODO comment LinlyBoi 2023-05-06 11:25:49 +03:00
  • 06c1131267 added circle coordinate function LinlyBoi 2023-05-06 11:25:24 +03:00
  • b61e95aa19 removed pooopy unused thiongs LinlyBoi 2023-05-06 10:54:45 +03:00
  • baa61a1f04 CENTERED THE THING (grid up next) LinlyBoi 2023-05-06 10:54:34 +03:00
  • 3e1d265857 more resources :D LinlyBoi 2023-05-06 10:53:59 +03:00
  • cbf08728f4 board started :DDD LinlyBoi 2023-05-06 10:45:51 +03:00
  • 36ab67bfff minimax hotfix (logical erros oops) LinlyBoi 2023-05-06 09:00:16 +03:00
  • a02f8241ce Merge pull request #2 from LinlyBoi/mini-max Linly 2023-05-05 22:13:55 +03:00
  • 1e5c0656f1 ??? LinlyBoi 2023-05-05 22:12:15 +03:00
  • 9797a4daaf minimax done :D LinlyBoi 2023-05-05 21:59:43 +03:00
  • c8be17a26a variable to store last move added for AI moves LinlyBoi 2023-05-05 21:59:38 +03:00
  • bd5daa17f1 Merge pull request #1 from LinlyBoi/score_checking Linly 2023-05-05 16:11:23 +03:00
  • 75e946d9ee Cleaned up commented code, get_wins and get_streaks are now separate :D LinlyBoi 2023-05-05 15:56:43 +03:00
  • f23e147a20 skeleton for minimax (pls help) LinlyBoi 2023-05-05 15:45:58 +03:00
  • 3a6829b5b6 adjusted the tests to new column and rows :DDDD LinlyBoi 2023-05-05 15:45:47 +03:00
  • c3f53436a9 flipped column and row numbers (i forgor) LinlyBoi 2023-05-05 15:45:36 +03:00
  • 9f6f97cc70 _ makes the thing not yell at me LinlyBoi 2023-05-04 22:52:19 +03:00
  • b16b95a5c7 imports needed LinlyBoi 2023-05-04 22:52:09 +03:00
  • 85e022f0fb moved to the tests file LinlyBoi 2023-05-04 22:52:02 +03:00
  • 0959ff00e6 not hardcoded oop LinlyBoi 2023-05-04 22:51:53 +03:00
  • c1eac620fe Sequences and Win tests passed :D LinlyBoi 2023-05-04 21:16:06 +03:00
  • 63242e1bce moved heuristic test to its own file LinlyBoi 2023-05-04 21:15:26 +03:00
  • ced0fd48a0 why do these keep pooping up pls LinlyBoi 2023-05-04 20:17:42 +03:00
  • fef292c69d heuristic potential wins pass :D LinlyBoi 2023-05-04 18:47:18 +03:00
  • 6b4aa377a0 partial eq for disk LinlyBoi 2023-05-04 18:47:07 +03:00
  • ef5a6f7ee3 started the testing :D LinlyBoi 2023-05-04 17:04:50 +03:00
  • 9146f5be0b feat: heuristic calculations (need tests) LinlyBoi 2023-05-04 14:08:44 +03:00
  • 1e45e93a68 swapped one raylib sample for another LinlyBoi 2023-05-03 00:12:11 +03:00
  • 6e8fed68fd removed silly comments LinlyBoi 2023-05-03 00:11:56 +03:00
  • e016d5f358 heuristic scan (needs tests) and constants LinlyBoi 2023-05-03 00:11:50 +03:00
  • 8d07cbb51d idkmanpls LinlyBoi 2023-05-02 21:35:22 +03:00
  • f41b868752 death to indices LinlyBoi 2023-05-02 21:35:15 +03:00
  • ead76cef1a heuristic file oh boy LinlyBoi 2023-05-02 20:35:04 +03:00
  • 5af5885746 comment out dbgs LinlyBoi 2023-05-02 19:13:19 +03:00
  • e4bd4ae903 test to ensure that diagonal scores are ensured LinlyBoi 2023-05-02 19:08:12 +03:00
  • dc6cdff378 diagonal added to legal moves LinlyBoi 2023-05-02 19:08:05 +03:00
  • ace98c4e3f one test for the one test LinlyBoi 2023-05-02 18:37:32 +03:00
  • 769d40af39 refactored scores to make sense and check on each insertion :D LinlyBoi 2023-05-02 18:37:24 +03:00
  • 09899d5a82 accidentally switched up indices LinlyBoi 2023-05-02 18:37:14 +03:00
  • f9f150ef5f funny comment LinlyBoi 2023-05-02 17:59:59 +03:00
  • a8f0ed948f ignore this LinlyBoi 2023-05-02 17:56:23 +03:00
  • 32592e4547 game over test and one more variant assertion LinlyBoi 2023-05-02 17:56:14 +03:00
  • 5bc294388f public use for indices for the module :D LinlyBoi 2023-05-02 17:55:53 +03:00
  • 9deef3ba5b migrated index manipulation functions to a new file LinlyBoi 2023-05-02 17:55:41 +03:00
  • 3d3d6fb3f9 all tests passed :D LinlyBoi 2023-05-02 17:35:03 +03:00
  • dd22d7f63a more debugging in case LinlyBoi 2023-05-02 17:35:00 +03:00
  • 1c44006ff4 pls help LinlyBoi 2023-05-02 14:38:15 +03:00
  • 5225821adc tests that work...gone LinlyBoi 2023-05-02 02:20:22 +03:00
  • 21f8976e5e uncommented hardwork :( LinlyBoi 2023-05-02 02:20:18 +03:00
  • 70c0827205 functional programming LinlyBoi 2023-05-02 02:20:13 +03:00
  • 5def7bdace why do these even show up here? LinlyBoi 2023-05-01 23:19:54 +03:00
  • 733745ef30 all tests for possible scores LinlyBoi 2023-05-01 23:19:39 +03:00
  • f992f2331f removed dbgs and hint comments LinlyBoi 2023-05-01 23:19:31 +03:00
  • 23fc7aa872 renamed BLUE to BLU for consistency LinlyBoi 2023-05-01 23:18:32 +03:00
  • fbcf6c81e7 derive debug for Disks because I was losing my sanity LinlyBoi 2023-05-01 22:27:24 +03:00
  • c5a49aa3d4 score checkers work (made a function for variant checking) LinlyBoi 2023-05-01 22:27:08 +03:00
  • f863fe7485 tests :D LinlyBoi 2023-05-01 00:26:44 +03:00
  • 46be26af76 Horizotnal score checking :D LinlyBoi 2023-05-01 00:05:50 +03:00
  • bf0bdecd34 2D array instead of Vec<Vec<Disk>> LinlyBoi 2023-05-01 00:05:40 +03:00
  • d61f9c83f7 raylib dep :D LinlyBoi 2023-04-29 19:33:53 +03:00
  • 55329690d1 raylib gui template ignore this for now LinlyBoi 2023-04-29 19:33:49 +03:00
  • 83ea2bb22c :D LinlyBoi 2023-04-29 19:33:41 +03:00
  • 4a869ee527 the start of sth cool in gamedata LinlyBoi 2023-04-29 19:33:39 +03:00
  • 39ea77120f unimplemented shit LinlyBoi 2023-04-29 19:33:30 +03:00
  • f99d98f406 Merge branch 'main' of github.com:LinlyBoi/oxidised4 the license file :D LinlyBoi 2023-04-29 14:11:45 +03:00
  • 2114492af3 feat: gitignore and cargo.toml with 2d array dep LinlyBoi 2023-04-29 14:10:59 +03:00
  • 5cc4705b21 obligatory hello world of every cargo new :) LinlyBoi 2023-04-29 14:10:42 +03:00
  • b10aa0f0c8 initialised modules LinlyBoi 2023-04-29 14:10:33 +03:00
  • e28a915d47 feat: Game Struct started and tests on the way LinlyBoi 2023-04-29 14:10:18 +03:00
  • 24a44c0c3a the actual test file LinlyBoi 2023-04-29 14:09:51 +03:00
  • 9f100813fe prepare to add tests in gui module LinlyBoi 2023-04-29 14:09:35 +03:00
  • b2b6c27b53 Initial commit Linly 2023-04-29 13:07:31 +02:00