Skip to content

A python game where you have to cover a grid with pentominoes.

Notifications You must be signed in to change notification settings

wil93/pentomino-cover-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Pentomino covering game

In this game you have to cover the grid with pentominoes. It is inspired by http://oeis.org/A214294.

Screenshot of the game

It is written in Python 2.x using Tkinter as GUI toolkit. The game structure is very flexible: you can "easily" code different polyominos (but for the moment you must specify the coordinates of every cell, for every rotation).

Dependencies

You can find Tkinter in the python-tk package on ubuntu-like systems. To install it, type:

sudo apt-get install python-tk

Usage

To launch the game, type:

python game.py

Keyboard controls

  • Restart the game: "R" key
  • Rotate pentomino: left/right arrow keys (or Mousewheel scroll)
  • Remove the last pentomino inserted: Backspace key
  • Select a pentomino to be removed: Spacebar key

About

A python game where you have to cover a grid with pentominoes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages