/snake_game

Text based simple snake game written in python

Primary LanguagePython

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.