Skip to content

Simple educational python Snake game created with PySide6 and Qt framework

License

Notifications You must be signed in to change notification settings

gudarzi/QtSnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QtSnake

Simple educational python Snake game created with PySide6 and Qt framework

Screen Shot of QtSnake Game

Table of Contents

  1. How to Run
  2. How to Build to EXE
  3. Recently Added Features
  4. Issues
  5. How to Contribute
  6. Disclaimer

How to Run

To run the project:

  1. Make sure you have Python 3.x installed, PySide6, and Qt
  2. Navigate to the project folder and install project requirements using pip:
pip install -r requirements.txt
  1. Run the project:
python main.py
  1. Select start button and confirm

  2. Use keyboard arrows or WASD to play.

How to Build to EXE

Use this command to compile the game into an exe executable:

pyinstaller --noconfirm --onefile --windowed --add-data "main.ui;."  "main.py"

Recently Added Features

Scoreboard - Increments by 1 for each food eaten

Main menu and game over screen

Pause screen

Issues

If you encounter any issues while running or building the project, please check out the Issues section. There, you might find solutions to common problems or issues that other contributors are working on.

To submit a new issue, click on the "New issue" button and provide a detailed description of the problem. Include any relevant error messages and steps to reproduce the issue. This will help us address the problem as quickly and effectively as possible.

How to Contribute

If you're interested in contributing to QtSnake, check out Issues page for open issues. Leave a comment to claim an issue and submit a pull request with your proposed changes. Thank you for your interest in this project.

Disclaimer

Please note that this project is intended for educational purposes and might not be suitable for production environments. The project is provided "as is", without warranty of any kind. In no event shall the authors or copyright holders be liable for any claim, damages or other liability arising from the use of this project.

About

Simple educational python Snake game created with PySide6 and Qt framework

Resources

License

Stars

Watchers

Forks

Languages