GitXplorerGitXplorer
w

pentomino-cover-game

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
12ed7c1b5004f91c1d864ecfe733fd6c91fe960e

add screenshot

wwil93 committed 5 years ago
Unverified
9913c7f0ec50c1e7da2085ed0e0e9f13e9b69ae6

upgrade to python3 and improve hidpi support

wwil93 committed 6 years ago
Unverified
1c4e86e8249ecea6935bd784dc70e02f0dfaa6eb

Allow to restart even if you won

wwil93 committed 11 years ago
Unverified
ae32ac39cf790639356f0fe7b1e607721224b443

Minor edits

wwil93 committed 12 years ago
Unverified
b086eac22ee430e558cf5138d172a557e9cda629

Update README.md

wwil93 committed 12 years ago
Unverified
b3e7306f21dcfc7437a2ae7f7639f1cbf2964634

Added docstrings. Changed bitmask specification. Minor fixes

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