Poblano

From OLPC
Revision as of 17:50, 8 June 2007 by Xocolatl (talk | contribs) (Rules for Abalone)
Jump to: navigation, search

Poblano, a Pygame clone of the board game Abalone

About the game

From Wikipedia: "Abalone is a two-player strategy board game which can be quaintly summarized as 'sumo wrestling with marbles', as the objective is to push opposing marbles off the edge of the board. The rules can be mastered in a minute or two, and the flow of the game is fast-paced."

As with Conway's Game of Life, Abalone has a simple ruleset and rich resulting behavior. Although the default configuration has been known to lead to stalemates, for alternate configurations used in championship matches Abalone is as yet an unsolved game. We'd like to bring this exciting and interesting game to the XO.

Plan for Game Jam

Objectives:

  • Basic UI and graphics
  • Encode Abalone ruleset
  • Additional program logic
  • Splash screen or intro animation
  • Alternate start configurations
  • Computer player AI

Rules for Abalone

Wikipedia [1]

Board: 61 circles, 5/side

    I O O O O O
   H O O O O O O
  G + + O O O + +
 F + + + + + + + +
E + + + + + + + + +
 D + + + + + + + + 9
  C + + @ @ @ + + 8
   B @ @ @ @ @ @ 7
    A @ @ @ @ @ 6
       1 2 3 4 5

14 marbles/player

Toss for color, black moves first Players move in turn Once played, a move cannot be changed

“Move”: line of one, two, or 3 marbles one space inline or broadside Numerical superiority (three to two, three to one, or two to one) allows a push. Push ONLY inline, NOT broadside. Pushing is not allowed if: There is no free space behind your opponent's group. There is an empty space between your group and the opponent's. The marbles are not in line.

"Pac": inline marbles deadlocked for that line (1:1, 2:2, 3:3)

Winner: first to push 6 opposing marbles off.