skip to navigation
skip to content

freegames 1.4.4

Free Games

Latest Version: 2.1.2

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.



Nibbles – like Snake on the old Nokia phones.


Memory – match tile pairs of numbers to uncover the hidden image.


Tiles – shuffle image tiles to solve the puzzle.


Pacman – simplified version of the classic.


Maze – solve a randomly generated maze.

Tic Tac Toe

Tic Tac Toe – the classic.


What follows are notes for a week-long curriculum with about 3 hours of classroom time each day.


  • Interactive python interpreter
  • - Commenting code
  • - Getting help in the ipython interpreter










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.

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.

File Type Py Version Uploaded on Size
freegames-1.4.4-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-06-19 105KB
freegames-1.4.4.tar.gz (md5) Source 2017-06-19 699KB