Commit Graph

108 Commits

Author SHA1 Message Date
f055ab4078 Merge pull request 'refactor: merge final cleanups before working on AI' (#6) from refactor into master
Reviewed-on: #6
2024-08-10 15:05:56 -05:00
Trianta
6fc3580102 options: add help option and rename bot argument for later 2024-08-10 14:59:32 -05:00
Trianta
4a5fbe88d3 bot: various improvements 2024-08-03 21:18:57 -05:00
Trianta
ff70b0dbd4 bot: fix pathfinding breaking 2024-08-03 20:42:34 -05:00
Trianta
35bbc152df core: implicitly set bot usage when no gui 2024-08-03 18:41:36 -05:00
Trianta
64c5c5d20e core: fix arguments check crash 2024-08-03 18:40:38 -05:00
Trianta
6e7ae19e8b core: fix not closing when window exits and add bot gameplay to be an argument 2024-08-03 18:34:14 -05:00
Trianta
722970eb12 core: fix various bugs and simplify things 2024-08-03 01:26:10 -05:00
Trianta
ccf5843e61 core: move various booleans to single bits in struct 2024-08-02 21:23:49 -05:00
Trianta
b9b771bc1c refactor: convert engine to a singleton 2024-08-02 19:50:48 -05:00
Trianta
0ff3ef3f62 refactor: remove all code from being in namespace 2024-08-02 19:45:07 -05:00
Trianta
d5c797d460 git: update gitignore for clangd stuff 2024-08-02 19:39:35 -05:00
Trianta
e5698ec96b cmake: update standard to C++23 2024-08-02 19:38:26 -05:00
eefc2bf60b Merge pull request 'add misc features to game' (#5) from iterative into master
Reviewed-on: #5
2024-08-02 19:36:14 -05:00
Trianta
03e2bf2748 git: update gitignore for cmake stuff 2024-08-02 19:33:45 -05:00
Trianta
22da054dab controls: added adjusting game speed with - and + 2024-05-20 01:20:05 -05:00
Trianta
b18ce89970 bot: added ability to skip display delay between specific generations 2024-05-20 01:05:59 -05:00
05f78d67fd Add iterative approach to deciding DFS and BFS 2024-02-01 12:50:10 -06:00
30ffcc4bb3 Merge pull request 'Minor code style fix' (#4) from dev into master
Reviewed-on: #4
2024-02-01 11:25:33 -06:00
a6c60ac3c4 Merge branch 'dev' 2024-02-01 11:25:43 -06:00
1498110048 Merge branch 'master' into dev 2024-02-01 11:23:52 -06:00
Trianta
e2d0c5dac7 Mini style adjustment 2023-11-05 19:04:44 -06:00
4f7cacfc44 Merge pull request 'Added scoring and chance-based algorithm picking' (#3) from dev into master
Reviewed-on: #3
2023-10-24 00:55:30 -05:00
Trianta
5dce9b677d Added scoring and chance-based algorithm picking 2023-10-24 00:54:30 -05:00
Trianta
da6ceebb55 Added displaying score 2023-10-23 21:33:47 -05:00
014aaffc0a Merge pull request 'Update dev from master' (#2) from master into dev
Reviewed-on: #2
2023-10-18 09:42:26 -05:00
9bb4b8ebca Increased survivability with DFS when no path 2023-10-16 12:35:35 -05:00
Gregory
0ce07fa88d Minor settings adjustments 2023-10-14 00:35:23 -05:00
df4990febd Merge pull request 'Added better algorithm for snake AI' (#1) from dev into master
Reviewed-on: #1
2023-10-13 19:37:09 -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