Snake Game Issue - AlanLau43/SnakeGame GitHub Wiki
Snake Game Issue
Issues
1. Food Disappear way too fast
In the case, if the map (window screen) is too wide, the food might disappeared before the snake reach there.
2. Score decreasing abnormally
As the time passess, the score will be decreased very fast and one food only worth 100 points. If the food is spawned at a very far place, the player's score might be cleared to zero before he/she get the point.
3. The game will has error when player resized the screen
When the screen size is resized (player maximized the game screen and then restore back to the original game screen) the game may be forced to close.
4. Input issue
when player accidentally type some word while the game is running, the map (game screen) will leave the mark of the word.
Changed
1. Extend the time for the food disappear
The team extend the time for the food to disappear so the player have enough time to reach the food before it disappear. The original time is way too fast which sometimes the player might not even possible reach it.
2. Make change to the code so the it will be normal
The team removed the negativePoints which decrease the score of the player way too fast which make the player too hard to obtain any score.
3. Fixed the window size prevent any error
The team fixed the window size at the begining of the program to prevent any errors that might happen.
4. Hide the input to prevent any mark on the screen
The team changed the input to black colour, so the input will not be seen. The team also set the CursorVisible to false.