Minor settings adjustments

This commit is contained in:
Gregory 2023-10-14 00:35:23 -05:00
parent e6797fa193
commit 0ce07fa88d
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ namespace snakeplusplus
void AISnake::GetNewPath(const std::vector< std::vector<char> >& gameBoard, const sf::Vector2f& source, const sf::Vector2f& boundaries, const int snakeSize)
{
// Search for food
if (snakeSize < 160) {
if (snakeSize < 135) {
BFS(gameBoard, source, boundaries);
} else {
DFS(gameBoard, source, boundaries);

View File

@ -30,7 +30,7 @@ namespace snakeplusplus
sf::RectangleShape drawObject;
sf::Event event;
bool isWindowAlive;
sf::Time delay = sf::milliseconds(5);
sf::Time delay = sf::milliseconds(15);
};
}