Currently, the Snake game maintains a constant speed throughout gameplay, regardless of the snake's actions. To introduce dynamic gameplay and add a level of challenge, implement a feature where the speed of the snake increases each time it consumes food. This will make the game progressively more difficult as the snake grows longer and moves faster.
Tasks:
Implement logic to increase the speed of the snake by 0.1 units when it consumes food.
Resolution:
Solve the tasks outlined above and submit a pull request referencing this issue ID (#ISSUE_ID) with a screenshot or video demonstrating the implemented feature.
Description:
Currently, the Snake game maintains a constant speed throughout gameplay, regardless of the snake's actions. To introduce dynamic gameplay and add a level of challenge, implement a feature where the speed of the snake increases each time it consumes food. This will make the game progressively more difficult as the snake grows longer and moves faster.
Tasks:
Resolution:
Solve the tasks outlined above and submit a pull request referencing this issue ID (#ISSUE_ID) with a screenshot or video demonstrating the implemented feature.