SkillAgentSearch skills...

Pythongame

Python Gamming.

Install / Use

/learn @videlanicolas/Pythongame
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Python Gamming tutorials

Following tutorials from <a href=https://inventwithpython.com/makinggames.pdf>this guide</a> and <a href=http://thepythongamebook.com/en:pygame:start>this guide</a>.

  • [x] <a href="https://github.com/videlanicolas/pythongame/tree/master/basics">Basics</a> (blank screen, draw primitives, animate primitives, display fonts, sounds, music)
  • [x] <a href="https://github.com/videlanicolas/pythongame/tree/master/MemoryPuzzle">Memory Puzzle</a>
  • [x] <a href="https://github.com/videlanicolas/pythongame/tree/master/SlidePuzzle">Slide Puzzle</a>
  • [x] <a href="https://github.com/videlanicolas/pythongame/tree/master/Simulate">Simulate</a>
  • [x] <a href="https://github.com/videlanicolas/pythongame/tree/master/Wormy">Wormy</a>
  • [x] <a href="https://github.com/videlanicolas/pythongame/tree/master/Tetromino">Tetromino</a>
  • [ ] Squirrel eat squirrel
  • [ ] Star pusher
  • [ ] Flippy
  • [ ] Ink spill
  • [ ] Connect four
  • [ ] Gemgem

How to play?

Clone this repo (get all games):

sudo apt-get install -y git
git clone https://github.com/videlanicolas/pythongame.git

Or download the game you want to play:

sudo apt-get install -y subversion
svn export https://github.com/videlanicolas/pythongame/trunk/<Game's Folder>
cd <Game's Folder>
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
./<game's name>.py

Example:

sudo apt-get install -y subversion
svn export https://github.com/videlanicolas/pythongame/trunk/Tetromino
cd Tetromino
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
./tetromino.py

Have fun!

Game screenshots

Memory Puzzle

<img src="screenshots/MemoryPuzzle.png"/>

Slide Puzzle

<img src="screenshots/SlidePuzzle.png"/>

Simulate (a.k.a. Simon Says)

<img src="screenshots/Simulate.png"/>

Wormy (a.k.a. Snake)

<img src="screenshots/Wormy.png"/>

Tetromino (a.k.a. Tetris)

<img src="screenshots/Tetromino.png"/>
View on GitHub
GitHub Stars4
CategoryDevelopment
Updated2y ago
Forks4

Languages

Python

Security Score

55/100

Audited on Dec 17, 2023

No findings