Playing Python by importing pygame
·

The famous but a little cold pygame:

Let me see them projects:

Try the project: Pacman clone
Click the links below the page, then go to home page on GitHub which seems like more logic than air_shoot game.

Git/Download the main source, take care of that it is not just the “main.py” file.
https://github.com/AnandSrikumar/PyPacman
Run the project with Python in your virtual environment where the pygame has been installed (click here to learn how to prepare the pygame environment if you need).
cd /path/to/PyPacman-main
~/.venvs/foo/bin/python main.py
# ~/.venvs/foo/bin/python is the path where pygame was installed on my computer.
# You can change within yours.

更多推荐


所有评论(0)