Commit Graph
37 Commits
Author SHA1 Message Date
DarthMooMancer e437b7b35f CMAKE changes 2025-11-04 23:59:42 -05:00
DarthMooMancer e87094ce13 removed the input thread and integrated it to the SnakeGame engine itself 2025-11-04 23:31:23 -05:00
DarthMooMancer 183be3c24a changed from raw pointer arrays to vectors 2025-11-04 20:11:57 -05:00
DarthMooMancer 1af33ba5a4 shorthand names without being to short for clarity 2025-11-03 14:02:27 -05:00
DarthMooMancer 2c38da4b79 changes from m_row & m_col to x & y 2025-11-03 13:09:37 -05:00
DarthMooMancer ab16f18137 removing magic numbers 2025-11-02 21:46:24 -05:00
DarthMooMancer 02ff154b81 optimizations 2025-11-01 18:06:21 -04:00
DarthMooMancer 6c6605fcb5 using memmove to update snake 2025-10-09 11:51:21 -04:00
DarthMooMancer baf2e21358 renaming 2025-10-08 09:18:26 -04:00
DarthMooMancer 959e539d4b wip 2025-09-27 19:10:16 -04:00
DarthMooMancer 74a5d9738a snake can collide and removed some magic numbers 2025-09-26 22:14:34 -04:00
DarthMooMancer 7a6df4fbe5 game is in a working state again, now just cleaning up 2025-09-26 21:11:30 -04:00
DarthMooMancer 1f3954ac79 wip 2025-09-26 17:53:29 -04:00
DarthMooMancer abef01d7b8 wip 2025-09-25 21:11:34 -04:00
DarthMooMancer 119c1422c0 wip 2025-09-24 14:48:38 -04:00
DarthMooMancer 0d47de8a7a starting an upgrade to move everything to just use ptrs and simplify the code a little 2025-09-24 14:25:03 -04:00
DarthMooMancer 626d7261d4 refactor 2025-09-12 22:46:59 -04:00
DarthMooMancer 9d3f6b3308 refactor: removing a bunch of random bad code and fixing it with more readable code 2025-09-12 22:18:36 -04:00
DarthMooMancer e36ab27f2b fruit: fixed bug where fruit could generate under tail 2025-09-12 20:55:56 -04:00
DarthMooMancer 4bab69a3a8 refactor: removing some deprecated functions and removed array for c style array 2025-09-12 20:31:42 -04:00
DarthMooMancer cfa0e52705 final commit for the time being 2025-08-30 13:26:31 -04:00
DarthMooMancer b0393c65f2 refactor: renaming functions and removing old functions 2025-08-30 01:23:38 -04:00
DarthMooMancer 96e5eb9930 refactor: renamed snake to element and moved fruit to element. Removed a lot of unused functions and variables 2025-08-30 01:09:50 -04:00
DarthMooMancer d488f6464a refactor: first step to final product by removing redundant code 2025-08-29 23:03:08 -04:00
DarthMooMancer 684041b3c1 feat: (snake) collision with head and body 2025-08-29 17:25:09 -04:00
DarthMooMancer 157933c122 fix: (tail) fixed where tail index 0 is on top of the head 2025-08-28 20:14:35 -04:00
DarthMooMancer ac23c873c3 feat: (snake point main) finally got tail to work with a few bugs 2025-08-27 19:29:09 -04:00
DarthMooMancer b2c90565bc feat: (snake.cpp snake.hpp) adding tail movement (broken) 2025-08-26 20:21:01 -04:00
DarthMooMancer 1bb5ecad33 feat(snake.hpp): adding a member argument for move history 2025-08-23 14:17:59 -04:00
DarthMooMancer 667d7219bf fix(snake.cpp .hpp): first step to extracting tail functions and head movement to just head and tail separately 2025-08-23 00:33:48 -04:00
DarthMooMancer bb1040fff5 wip 2025-08-22 12:13:43 -04:00
DarthMooMancer 5e887e3688 wip 2025-08-21 09:17:37 -04:00
DarthMooMancer a128048a8f rework(snake): added tail get_new_point for managing tail movement 2025-05-22 12:23:06 -04:00
DarthMooMancer ff942631aa changes 2025-05-12 17:15:25 -04:00
DarthMooMancer ad605dd7a2 feat: fruit now spawns on map and can be collect to add to score 2025-05-12 11:22:00 -04:00
DarthMooMancer cdcffc40ea feat: fruits, globals, input, snake, point, window 2025-05-09 21:30:19 -04:00
DarthMooMancer 636ebae6a3 Adding Main files 2025-05-08 10:24:34 -04:00