Commit Graph

80 Commits

Author SHA1 Message Date
Gregory
0ce07fa88d Minor settings adjustments 2023-10-14 00:35:23 -05:00
Trianta
e6797fa193 Split into BFS at first and DFS after 2023-10-13 19:22:11 -05:00
Trianta
b8a6a8d195 Replaced simple snake bot with AI 2023-10-13 19:07:08 -05:00
Gregory
a0c2e7778a
Merge pull request #21 from Trimutex/development
Development
2023-09-14 22:26:12 -05:00
4733383d4a Logic cleanup 2023-08-19 23:32:53 -05:00
d2e1424e7d Added bot controls, bot still has poor pathing 2023-08-19 12:56:40 -05:00
197311831f Fixed going wrong way with snake movement 2023-08-19 00:19:04 -05:00
Gregory
2969fd89db
Merge pull request #20 from Trimutex/development
Update to current progress
2023-08-19 00:09:12 -05:00
71dfa043a9 Fixed snake not showing on start 2023-08-18 22:36:47 -05:00
49182ce07d Snake now randomly starts as well 2023-08-18 19:51:15 -05:00
d7982b200f Separated generation into common file 2023-08-18 19:09:57 -05:00
441c52ab0f Added random generation on start 2023-08-18 18:15:21 -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
35244daa02 Removed unnecessary standard libraries 2023-08-18 16:42:54 -05:00
d83f271adf Fixed snake keeping movement on reset 2023-08-14 17:39:04 -05:00
c71b1d6982 Added ability to play again 2023-08-10 19:01:24 -05:00
Gregory
63a34e80e6
Merge pull request #19 from Trimutex/development
Adding changes to main branch
2023-08-10 18:53:03 -05:00
b7b42fa038 Merge conflict fix 2023-08-10 18:52:37 -05:00
Gregory
91bdac41da
Update README.md 2023-08-10 18:37:58 -05:00
20586a7855 Fixed readme 2023-08-10 18:37:15 -05:00
a8cc2d1174 Turned Makefile into CMake 2023-08-10 18:34:43 -05:00
fb672c7ddb Added basic game over screen 2023-05-17 20:20:01 -05:00
a9d194c90c Fixed snake 2023-04-15 05:15:11 -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
67e56bcb3c Issues to fix: sfml window and bounds checking 2023-03-17 21:40:49 -05:00
c4d40d152b Fixed major issues, still not launching due to vectors 2023-03-17 21:07:58 -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
a76d9ccfb5 Cleaned up naming of files; setup more structure 2023-03-13 21:10:52 -05:00
3ee01d936b Game finishes, but is buggy. Proper grid needed 2023-03-13 08:24:56 -05:00
Gregory
579baa61e7
Merge pull request #18 from TriantaTV/development
Code readability changes and reducing coupling
2023-03-12 21:59:20 -05:00
6589dabc09 More cleaning for readabillity, added common file 2023-03-12 21:57:46 -05:00
de189301d4 Cleaned up code for readability 2023-03-12 08:50:50 -05:00
TriantaTV
d571db3d4e
Update README.md 2023-02-26 19:58:11 -06:00
TriantaTV
548392e025
Merge pull request #15 from TriantaTV/development
Development
2023-02-26 19:57:40 -06:00
153b4e1367 Added a README file 2023-02-26 19:56:11 -06:00
805430a090 Added making directories in Makefile 2023-02-26 19:56:00 -06:00
3c901e5f89 Adjusted Makefile and added clean up 2023-02-26 19:22:28 -06:00
TriantaTV
8f27c23250
Merge pull request #14 from TriantaTV/development
Development
2023-02-26 18:28:29 -06:00
407ef34522 Fixed linking issue 2023-02-26 18:22:25 -06:00
c67178450d Cleaned up file structure and added Makefile 2023-02-26 18:18:45 -06:00
TriantaTV
545bc2a41b
Merge pull request #10 from TriantaTV/Development
Fixed snake food generation
2022-08-21 02:52:46 -05:00
TriantaTV
2c4537eda7 Fixed generation issue with snakeFood
Fixed generation issue with snakeFood and game should be fully playable without an official end screen implemented. So when the snake gets stuck or the game finishes, there is nothing to close the game automatically.
2022-08-21 02:51:33 -05:00
TriantaTV
88902fed6a Moved general functions to a general file
Moved general functions to a general file and added a statement to catch if  the newly generated location is the same. The snake food is not currently generating to a new random location like expected and is broken.
2022-08-17 00:41:29 -05:00
TriantaTV
cc3a61abb7 Snake food works with vertical movement
Snake food works with vertical movement, however horizontal movement is unchanging. Will look into getting a fix for it soon.
2022-08-15 23:51:18 -05:00
TriantaTV
0d3988a7ff Fixed food generation and removed unused code
Fixed food generation and removed unused code
2022-08-15 22:15:56 -05:00
TriantaTV
f526a7500f
Merge pull request #9 from TriantaTV/Development
Fixed stacking at boundaries
2022-08-10 20:13:22 -05:00
TriantaTV
08ee516f0e Fixed snake stacking at boundaries 2022-08-10 20:05:28 -05:00