Free Games
Project description
A collection (18) of free python games.
In the first half of 2012, I wrote ten games to teach a group of students some basics of programming. The goal was to have fun as much as it was to learn. Here you’ll find simplified versions of several classics.
In 2013, I used these games again as part of a programming club for high school students at Downtown College Prep in San Jose, CA. At that time, I added a number of new games bringing the total up to eighteen and covering more advanced topics like projectile motion and encryption.
In 2014, I used these games as part of week-long programming club that met in the evenings at The River Church Community in San Jose, CA. Our demographic was middle and high school students.
Each game is entirely independent from the others and includes comments along with a list of exercises to work through with students. Creativity and flexibility is important. There’s no right or wrong way to implement a new feature! You never know which games the students will find really interesting.
Screencaps
Paint
Paint – draw lines and shapes on the screen.
Snake
Snake – classic arcade game.
Pacman
Pacman – classic arcade game.
Cannon
Cannon – projectile motion.
Connect
Connect – Connect 4 game.
Flappy
Flappy – Flappy-bird inspired game.
Memory
Memory – puzzle game of number pairs.
Pong
Pong – classic arcade game.
Simon Says
Simon Says – classic memory puzzle game.
Tic Tac Toe
Tic Tac Toe – classic game.
Tiles
Tiles – puzzle game of sliding numbers into place.
Tron
Tron – classic arcade game.
Fidget
Fidget – fidget spinner inspired animation.
Curriculum
What follows are notes for a week-long curriculum with about 3 hours of classroom time each day.
Monday
Interactive python interpreter
nibbles.py - Commenting code
guess.py
paint.py - Getting help in the ipython interpreter
Tuesday
tron.py
crypto.py
memory.py
Wednesday
pacman.py
bagels.py
cannon.py
cups.py
Thursday
tictactoe.py
hangman.py
sonar.py
simonsays.py
Friday
pong.py
connect.py
maze.py
tiles.py
Quickstart
Installing Free Python Games is simple with pip:
$ pip install freegames
You can access documentation in the interpreter with Python’s built-in help function:
>>> from freegames import snake >>> help(snake)
User Guide
For those wanting more details, this part of the documentation describes tutorial, API, and development.
Reference and Indices
Free Python Games License
Copyright 2017 Grant Jenks
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file freegames-2.0.0.tar.gz
.
File metadata
- Download URL: freegames-2.0.0.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ab54716b7d7bef6920580c2b706dd0963f7b7b86b1ce4e43b7e0fc7b3cc5a88 |
|
MD5 | 83e4b2b36bc36a865cd92b8c988be1f1 |
|
BLAKE2b-256 | b7c4ef14986fd4ef58993a8468bae6abd429dab79863d863d21d1951ac2266a9 |
File details
Details for the file freegames-2.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: freegames-2.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 104.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb2d49c4875df00e7754db20309cff430b57eab0a8e88c3d1c3947688f8a59d3 |
|
MD5 | 4fb9b7815b6519e4f2e0041d92176acc |
|
BLAKE2b-256 | 561b35f8840aa03f827e92e485787d89c26a2f5026c385a704dc972e03a851f2 |