Commit Graph

17 Commits

Author SHA1 Message Date
TriantaTV
e812588200 Added snake collision with itself
Added snake collision with itself and also changed color to green.
2022-07-28 14:56:54 -05:00
TriantaTV
69423bf9d0 Cleaned up unused code and added more comments for clarification 2022-07-27 15:15:36 -05:00
TriantaTV
12a9b118a2 Added eating food being able to extend snake
Added eating food being able to extend snake and food still moves
2022-07-27 15:07:28 -05:00
TriantaTV
9f90e6fb2f Added boundaries for snake movement
Snake is now limited to a hard-coded boundary. Boundary is planned to be changed to no longer be hard-coded.
2022-07-26 19:47:08 -05:00
TriantaTV
97085dd314 Fixed movement and color of snake 2022-07-26 19:24:46 -05:00
TriantaTV
a8eee1db4d Changed movement to control the Player object
Changed movement to control the Player object. Movement not currently working, actively being looked into.
2022-07-26 19:03:55 -05:00
TriantaTV
94abee7e61 Added ability to get snake head position
Added ability to get snake head position and created a snake constructor with a position.
2022-07-26 16:56:26 -05:00
TriantaTV
c03b16f0e9 Laid groundwork for creating a snake body
Laid groundwork for creating a snake body. Implementation should be added and working next push.
2022-07-25 16:12:11 -05:00
TriantaTV
3d8dcf23ac Deque swapped to hold sf::RectangleShape
Deque swapped to hold sf::RectangleShape and will allow for holding a deque for each snake body piece. Snake class can create functions to get necessary tests through deque.
2022-07-25 16:06:06 -05:00
TriantaTV
c7263dfc1f SnakeNode is now depreciated due to swapping to a deque 2022-07-25 15:43:42 -05:00
TriantaTV
165e531205 Split into separate files and added planning
Snake is now planned to use a deque for location of body. Split snake into separate file outside of main.
2022-07-25 15:40:45 -05:00
TriantaTV
8e4d53ea2a Added snake food and food moves when touched
Movement is not yet made to be randomly positioned.
2022-06-10 14:40:12 -05:00
TriantaTV
ca7f6db077 Created snake head 2022-05-06 01:26:17 -05:00
TriantaTV
2993bdefd1 Removed app for cleanup 2022-05-06 00:48:51 -05:00
TriantaTV
4295a5cd22
Merge pull request #1 from TriantaTV/master
Added folder structure and default main layout
Branch mistake
2022-05-06 00:45:10 -05:00
27db32f692 Added folder structure and default main layout 2022-05-06 00:40:36 -05:00
TriantaTV
a18ea3fd82
Initial commit 2022-05-04 01:31:34 -05:00