Build Arcade Games in Python
by kandikits Updated: Oct 20, 2022
This kit is created to experiment with simplified versions of various classic arcade and educational games using python. The list of games experimented in this kit are as follows:
- Classic snake game
- Tile game
- Pong game
- Flappy bird game
- Pacman game
Python start-up game created using this kit is added in this section. The entire solution is available as a package to download from the source code repository.
- Download, extract and double-click kit installer file to install the kit.
- After successful installation of the kit, press 'Y' to run the kit and execute cells in the notebook.
- To run the kit manually, press 'N' and locate the zip file 'Python_Startup_Games'.
- Extract the zip file and navigate to the directory 'free-python-games'
- Open command prompt in the extracted directory 'free-python-games' and run the command 'jupyter notebook'
- Locate and open the 'freegames.ipynb' notebook from the Jupyter Notebook browser window.
- Execute cells in the notebook. Note: Demo source code will be downloaded to local machine. It is also available here.
Click on the button below to download the solution and follow the deployment instructions to begin set-up. This 1-click kit has all the required dependencies and resources you may need to build your Python Games.
For a detailed tutorial on installing & executing the solution as well as learning resources including training & certification opportunities, please visit the OpenWeaver Community
VSCode and Jupyter Notebook can be used for development and debugging. Jupyter Notebook is a web-based interactive environment often used for experiments, whereas VSCode is used to get a typical experience of IDE for developers.
Jupyter Interactive Notebook
Jupyter Notebook 9830 Version:v7.0.0a15 License: Permissive (BSD-3-Clause)
Below libraries helps to create a number of simple and interactive games in python.
Command line driven CI frontend and development task automation tool.
Python 3198 Version:4.4.6 License: Permissive (MIT)
Below utility libraries help for sorting, checking the style, syntax, and quality of code.
Checks syntax of reStructuredText and code blocks nested within it
Python 154 Version:Current License: Permissive (MIT)
flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
Python 2689 Version:Current License: Others (Non-SPDX)
The libraries listed here can be used for unit testing as well as integration testing.
Coverage plugin for pytest.
Python 1392 Version:Current License: Permissive (MIT)
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
Python 9927 Version:7.2.2 License: Permissive (MIT)
Kit Solution Source
Free Python Games
Python 2677 Version:Current License: Others (Non-SPDX)