Skip to content

Riahiamirreza/snake_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snake_game

Text based simple snake game written in python

|⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜|
|⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜|
|⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜|
|⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜|
|⬜⬜⬜ ▲⬜⬜⬜⬜ ♥⬜⬜⬜⬜⬜⬜|
|⬜⬜⬜ ■⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜|
|⬜⬜⬜ ■⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜|
|⬜⬜⬜ ■⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜|
|⬜⬜⬜ ■⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜|
|⬜⬜⬜ ■⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜|
|⬜⬜⬜ ■⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜|
|⬜⬜⬜ ■ ■ ■⬜⬜⬜⬜⬜⬜⬜⬜⬜|
|⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜|
|⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜|
|⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜|

Use arrow keys to navigate the snake. If you press any key other than arrow keys the game won't run correctly.

How To Run

  1. Download or Clone Project
  2. Navigate To The Root of The Project
  3. Open Terminal For Linux & Mac, Type python3 main.py & Press Enter

Note:

  1. Make Sure Python3 Is Installed On Your System
  2. This program does not work on Windows because it requires the termios module that will work only on Unix.

About

Text based simple snake game written in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages