Snake Game Instructions

Introduction

Welcome to the snake game Hebi Hunter! In this game, you control a snake and try to eat as much food as possible to grow and score points. Avoid collisions with yourself to keep playing.

Game Setup

Ensure you have the game executable file ready. Double-click the executable to start the game. The game will open in a new window.

Controls

Player 1 (Pink Snake)

Use the arrow keys to control the snake:

- Move Up
- Move Down
- Move Left
- Move Right

Player 2 (Blue Snake)

Use the W, A, S, D keys to control the snake:

W
- Move Up
S
- Move Down
A
- Move Left
D
- Move Right

Pause and Resume

You can pause and resume the game by pressing the

Spacebar
. When the game is paused, the snakes will stop moving and the game will not progress until you press the spacebar again to resume.

Scoring

The snakes can eat the food items that appear and move randomly on the screen. Each food item has a point value based on how long it has been on the screen. The point value decreases over time, so eat the food quickly to get the maximum points.

The current scores are displayed at the top of the screen, with Player 1 (Pink Snake) on the bottom and Player 2 (Blue Snake) on the top.

Winning the Game

The game ends if the snake with the lower score collides with itself. If the snake with the higher score collides with itself, its score is reduced by one third and the game continues. The player with higher score at the end wins.

Game Data

The game automatically saves the scores and winner of each game to a CSV file named game_data.csv. You can review past games and analyze performance using this file.