Trianta
0ff3ef3f62
refactor: remove all code from being in namespace
2024-08-02 19:45:07 -05:00
709cf26f99
Fixed code consistency issues
2023-08-18 18:09:09 -05:00
c57fbc714c
Cleaned up some naming and added WASD controls
2023-08-18 17:51:58 -05:00
498ac65dbc
This was overengineered, lots of trimming to do
2023-04-06 22:22:06 -05:00
c01f687ec7
Doing too much at once. Need to fix branch
2023-04-06 19:27:10 -05:00
9082d7fdfd
Fixed class organization
2023-03-17 20:13:50 -05:00
f317dc7a8c
Many issues restructuring the program, needs cleaning
2023-03-17 17:27:02 -05:00
de189301d4
Cleaned up code for readability
2023-03-12 08:50:50 -05:00
TriantaTV
eae6b4c70d
Game window now runs under GameState
...
Game window now runs under GameState and removed game from being hosted in main()
2022-08-02 21:17:23 -05:00
TriantaTV
f64577d2cd
Moved render window into GameState
2022-07-29 16:27:18 -05:00
TriantaTV
19b91b78d2
GameState now only defines window limits
...
GameState now only defines window limits. RenderWindow is now set to be a separate object left in the main method.
Noted issues if put into GameState: Window never opens and the program just ends.
2022-07-29 15:53:59 -05:00
TriantaTV
1a90a4601a
Added GameState and cleaned up unused code
2022-07-28 15:18:24 -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
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
27db32f692
Added folder structure and default main layout
2022-05-06 00:40:36 -05:00