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.

Demo

snakegame

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.2.tar.gz (5.1 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.2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bashsnakegame-0.1.2.tar.gz
  • Upload date:
  • Size: 5.1 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.2.tar.gz
Algorithm Hash digest
SHA256 29322c9f63fa06ce47db4dcfeb3ddc6890be95e985f84f968a458f00a63d4fb0
MD5 facfcad75861a171446d9a5b3640779d
BLAKE2b-256 88df2827c244f747eb207ee63f88b24940b3306c1cd8cfbd8cd34ede98e9effb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bashsnakegame-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9d605b658ead713047a400d848a347eea41f8fb6fff65b132d5679fcd031580c
MD5 56c6ed42065d581448fa6c41a8a12fcc
BLAKE2b-256 9004f0bd07c51517b6b983ed3ec7ddcc055e30b6369df833c381fa02b18e5d3b

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