Skip to main content

A Terminal Snake for Terminal Persons

Project description

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.
  

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bashsnakegame-0.1.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bashsnakegame-0.1.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file bashsnakegame-0.1.1.tar.gz.

File metadata

  • Download URL: bashsnakegame-0.1.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.10 CPython/3.10.5 Linux/5.13.0-1031-azure

File hashes

Hashes for bashsnakegame-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e788f66e7d0db2fc84e218d6759b9c8f545654e10804bf0a659db5bd09fee1bd
MD5 7b57b988120b5ef955c8897ac9d118a2
BLAKE2b-256 672b20a56c3f2cd0ddcea58b9071b51437bba0d54503dcd01f9c471fdda047d5

See more details on using hashes here.

File details

Details for the file bashsnakegame-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: bashsnakegame-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.10 CPython/3.10.5 Linux/5.13.0-1031-azure

File hashes

Hashes for bashsnakegame-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 43b3ad2881a4e898748b274f5f54109505f19fa69b262fc4585e742623a6936c
MD5 e3b72d6a65ef748aae97681c1fe836c0
BLAKE2b-256 06050f1a181a302bb4dbfb99a4f723c7f82a2c014da0c98f4892c1274942968d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page