Skip to content

Commit

Permalink
score V2
Browse files Browse the repository at this point in the history
  • Loading branch information
Augustin-maker committed Apr 5, 2024
1 parent ca02d38 commit 768d88a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jeu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void Jeu::tick() {
if (posTest == applePos) {

increaseScore(1);
std::cout << "Snake eats the apple!" << std::endl;
//std::cout << "Snake eats the apple!" << std::endl;
// The snake eats the apple, place a new apple
std::uniform_int_distribution<> distr(0, map.getWidth() - 1);
int attempts = 0;
Expand Down

0 comments on commit 768d88a

Please sign in to comment.