This is a simple snake game coded with python3 and PyQt5.
Use key W, A, S, D to control the snake to move and eat. Be careful of the wall and the snake's body.
Good luck!
Open the file "config.json" with any code editor, and change the following variables.
{
"AUTO_PLAY":true,
"BOARD_COLUMN":30,
"BOARD_ROW":20,
"FOOD_NUM":30,
"SPEED":500,
"TIME_INTERVAL":5
}
AUTHOR = None
CLASS = None
ID = None
EMAIL = None