GitXplorerGitXplorer
w

pentomino-cover-game

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
b20e4f6f5445e0f671ff03b75307913de1143f09

Added keyboard controls to README

wwil93 committed 12 years ago
Unverified
38b0d8aa58ae85a8c09b53d7bc92e4162727ebbb

Shortened some long lines

wwil93 committed 12 years ago
Unverified
0a6cb6464e10d2e61feb954ca1b8de35526b3e9c

Updated README

wwil93 committed 12 years ago
Unverified
eb9d322cc05c2cc4efe7243b7000ad063be71b00

Updated README

wwil93 committed 12 years ago
Unverified
90f9bcf44f63f9dbf7df0b73e3567e1bddb574fa

Added author info

wwil93 committed 12 years ago
Unverified
9b156ba5a2ec3bf6694b48b2bcd638ca64edb0db

Added game.py and README.md

wwil93 committed 12 years ago

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