Skip to main content

A simple Snake game using Tkinter

Project description

Snake Game

A simple Snake game implemented in Python using Tkinter.

Snake window

Installation

You can install the package via pip. Simply run the following command:

pip install snake-game-tk

Alternatively, you can clone the repository and run it manually:

  1. Clone the repository
git clone https://github.com/lvidarte/snake_game.git
  1. Install Tkinter Library
sudo apt update
sudo apt install python3-tk
  1. Play!
cd snake_game
python -m snake_game.main
  1. Run Tests
cd snake_game
python -m unittest discover -s tests

Requirements

Snake game requires Tkinter. Please install the 'python-tk' package for your system.

  1. Ubuntu/Debian
sudo apt install python3-tk
  1. Fedora
sudo dnf install python3-tkinter
  1. Arch Linux
sudo pacman -S tk
  1. MacOS
brew install python-tk

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

snake_game_tk-0.1.2-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: snake_game_tk-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for snake_game_tk-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d1ac1b44ab00b0b4c7d0495e3b0c204d6b07aabf8f0926e20bdd4caea28510a6
MD5 01b96e108257af346f201071d8b52ed3
BLAKE2b-256 a721a05e7293e849cc71af439e398715eeaa1806e472b32b74941bb12ed97334

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