Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An m,n,k,p,q-game (x-in-a-row) engine developed for Google App Engine
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
css
img
js
misc
simplejson
templates
README.md
app.yaml
index.yaml
main.py
monkey.py
util.py

README.md

MoNKey!

Goal

The goal for this project is to support two-player sessions of m,n,k,p,q-games through a web interface developed using Google App Engine as the framework.

m,n,k,p,q-game?

From Wikipedia:

An m,n,k-game is an abstract board game in which two players take turns in placing a stone of their color on an m×n board, the winner being the player who first gets k stones of their own color in a row, horizontally, vertically, or diagonally. Thus, tic-tac-toe is the 3,3,3-game and free-style gomoku is the 19,19,5-game.

The p and q variables were introduced to support Connect6. From Connect6.org:

Black plays first and puts only q black stone on q unoccupied intersections (also called grids). Subsequently, Black and White alternately put p of their own stones on p unoccupied grids.

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Something went wrong with that request. Please try again.