Trianta
|
63cbe41086
|
auto: fix crashing on edges and getting stuck
|
2024-08-21 04:32:30 -05:00 |
|
Trianta
|
c6197e84dc
|
auto: default to an increased speed when auto playing
|
2024-08-21 03:17:23 -05:00 |
|
Trianta
|
2cb54b68c4
|
auto: better naming for BFS/DFS roll
|
2024-08-21 03:15:32 -05:00 |
|
Trianta
|
677466d99e
|
core: formatting cleanup
|
2024-08-21 02:59:30 -05:00 |
|
Trianta
|
01f24e4ebb
|
auto: remove unnecessary pointer passing
|
2024-08-21 02:29:50 -05:00 |
|
Trianta
|
aba9a9cc35
|
ai: remove food greed and adjust probability weights manually a bit for testing
|
2024-08-14 04:01:14 -05:00 |
|
Trianta
|
a5902171ec
|
ai: added basic decision making based on sensors, needs weights and weight adjustment
|
2024-08-14 03:35:04 -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
|
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 |
|
Trianta
|
e2d0c5dac7
|
Mini style adjustment
|
2023-11-05 19:04:44 -06: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 |
|
|
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 |
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|