GitXplorerGitXplorer
w

pentomino-cover-game

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.

No commits found

There are no commits on branch master.

README

The README file for this repository.

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