snake

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2023 License: MIT

README

🐍 Snake

Snake is a classic arcade game in which the player needs to control a snake to increase its length, eat food and avoid collisions with walls and its own tail.

🎯 Goal

The goal of the game is to score the maximum number of points by eating food that randomly appears on the playing field. Every time the snake eats food, it gets longer. However, as she grows, the player must be careful not to run into her tail, otherwise the game will end.

🕹️ Control

W, A, S, D

The snake is controlled using the keys on the keyboard. The snake moves in a straight line and the player must indicate its direction using the left or right turn keys. If the snake reaches the edge of the playing field, it appears on the opposite side.

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL