Skip to content

juliana-kim/snake_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f3c7242 · Jun 21, 2024

History

2 Commits
Jun 21, 2024
Jun 21, 2024
Jun 21, 2024
Jun 21, 2024

Repository files navigation

Snake Games

  • This repository contains snake games implementation in various languages, lib and frameworks. (Javascript, Python, JS + React, Flutter)

Game Rules

  • Pressing any arrow key(up/down/left/right) starts the snake moving in that direction.

  • When the snake eats an apple, it's body length increases, and the apple appears at a random position on the game screen.

  • When the snake goes off-screen, it reappears on the opposite side.

  • If the snake collides with its own body, the game ends and resets its state.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published