This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A game of maze.

Idea of the game is to find a path through the maze to a location marked by ‘X’.

Snapshot from an actual game:

+   +   +   +   +   +   +   +   +---+   +---+---+---+   +   +   +   +---+   +---+
|   |   |   |   |   |   |   |       |                       |           |   |
+   +   +---+   +   +   +   +---+   +---+---+   +---+---+   +---+   +   +   +   +
|   |     X |   |   |   |       |   |       |       |       |       |   |
+---+---+   +   +   +   +---+   +   +---+   +---+   +   +---+   +---+   +   +---+
| .   .   @ |       |       |   |       |   |       |       |   |       |       |
+   +---+---+---+   +   +   +   +---+   +   +   +---+   +---+   +   +   +---+   +
| .             |       |   |       |   |       |               |           |   |
+   +---+   +   +---+---+   +   +   +   +---+---+   +---+---+   +---+---+   +   +
| .   . |   |               |   |       |       |           |   |           |
+---+   +   +---+---+---+---+   +---+---+   +   +---+---+   +   +   +---+---+---+
| .   . |           |       |   |       |   |   |           |       |
+   +---+---+   +   +   +   +   +   +---+   +   +   +---+---+   +---+   +   +---+
| . |           |       |   |   |   |       |   |   |       |           |
+   +   +---+---+---+   +   +   +   +   +---+   +   +---+   +---+---+   +---+   +
| . |       |       |   |   |   |   |   |       |               |       |       |
+   +---+   +   +   +   +   +   +   +   +   +---+---+---+---+---+   +---+   +---+
| .   .   . |   |   |       |       |   |           |       |       |           |
+---+---+   +   +   +---+   +   +---+   +---+---+   +   +   +   +---+   +   +   +
| .   . | . |   |       |   |           |   |       |   |       |   |       |
+   +   +   +---+---+   +   +---+---+   +   +   +   +   +---+---+   +---+---+---+
| . | . | .   .   . |       |           |           |           |   |           |
+   +   +---+---+   +---+---+   +---+---+   +---+---+   +---+   +   +   +---+   +
P: (9,2) X: (8,2) Moves: 35/36 Elapsed: 12.670secs Score: 8288

Requirements

Python 3.5 with curses and mazepy. Developed and tested with Cygwin and Mac OS X. Does not work with Python2 or Windows without Cygwin.

Install

Install latest version: pip install mazingame.

Instructions

You will start at some location in the bottom of the maze. ‘X’ is somewhere nearer the top of the maze. Move using cursor keys or ‘w’,’a’,’s’,’d’. Quit pressing ‘q’ or Ctrl-C.

When, or if, you reach ‘X’, the ending score is saved to SQLite database. The default highscore file location is $HOME/.mazingame_highscores.sqlite. Use environment variable MAZINGAME_HIGHSCORE_FILE to set another file.

Command line options include:
-f, --fullscreen
 Use terminal to show entire maze. But only if terminal size is larger than the maze.
--showpath Show shortest path. Remember: this is cheating.
--showmaze Show entire maze. Remember: this is cheating.
-hs, --highscores
 Show high scores.

And a few more.

Note: database in high score file may change from version to version, if you get SQLite error when saving high scores, delete your high score file.

About

This hobby project was inspired by the book “Mazes for Programmers” by Jamis Buck (https://pragprog.com/book/jbmaze/mazes-for-programmers).

Python translations of the maze code is in mazepy-project (https://github.com/samisalkosuo/mazepy).

See http://sami.salkosuo.net/mazingame/ for some background about MazinGame.

Release History

Release History

1.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mazingame-1.2.tar.gz (13.5 kB) Copy SHA256 Checksum SHA256 Source Jun 23, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting