Skip to content

sakthiRathinam/terminal_snake

Repository files navigation

terminal_snake

image image image

A cli for snake game in python using graph algo and vanilla python without using no gui libraries nothing only logic and python.

Installation

You can just install from pypi.

pip install bashsnakegame

Quick Start

create a python file and paste this

from bashsnakegame.game import SnakeGame

def main():
    #width will be the first arg and height will be the second arg based on that i will draw the cells in the terminal
    game = SnakeGame(10,20)
    game.start_game()
main()

Commands:
  shell  run the python file and your game starts.

Demo

snakegame

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages