terminal_snake
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
License
This project is licensed under the MIT License.
Metadata
Release files for bashsnakegame 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bashsnakegame-0.1.2.tar.gz | 5.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bashsnakegame-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.6 kB
Release files / bashsnakegame-0.1.2.tar.gz
| Download URL | bashsnakegame-0.1.2.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29322c9f63fa06ce47db4dcfeb3ddc6890be95e985f84f968a458f00a63d4fb0
|
|
BLAKE2b-256 checksum How to use checksums |
88df2827c244f747eb207ee63f88b24940b3306c1cd8cfbd8cd34ede98e9effb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.10 CPython/3.10.5 Linux/5.13.0-1031-azure
|
Release files / bashsnakegame-0.1.2-py3-none-any.whl
| Download URL | bashsnakegame-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d605b658ead713047a400d848a347eea41f8fb6fff65b132d5679fcd031580c
|
|
BLAKE2b-256 checksum How to use checksums |
9004f0bd07c51517b6b983ed3ec7ddcc055e30b6369df833c381fa02b18e5d3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.10 CPython/3.10.5 Linux/5.13.0-1031-azure
|