Stones - 3D Board Game [WIP]

Link to Stones

Stones is a three dimensional version of Ninuki-Renju which was popularized under the trade mark Pente. There are two methods of wining.

  • Achieve 5 stones in a line, either in a straight line or along a diagonal on the plane (I’m not sure how to word this basically a valid diagonal must remain flat on a single plane)
  • Capture 5 pairs of stones from your opponent.

Currently the AI plays against you but I need to work on its ability as it makes some unintended errors. There is a menu that allows you rebind keys to toggle the menu, start a new game, and to switch the direction you are viewing the game from.

The game board consists of a cube of 9x9x9 dimensions but also there is a 4 rows on the outside of the game board that mirror the stones 9 spaces over. This means there is no edge to the game board, if you need to place a stone on the row just outside the game board you simply go to the other side of the board and place it there, this will make a stone appear also where you need it.

Controls:

  • Left click places a stone.
  • Right click and hold down to change the angle your viewing the board form slightly.
  • Arrow Keys allow you to change the face of the game board that is closest to you.
  • Mouse Wheel Up shifts the plane you are working on away from you (The working plane is scaled up making it obvious)
  • Mouse Wheel Down shifts the plane you are working on towards you.

To Work On:

  • Upgrade AI decision tree.
  • Add threading support.
  • Add difficulty levels.
  • Add sound.

Here are some screenshots




Any feedback is welcome.

Screenshots look cool :smiley:

Wasn’t sure how to play the game once downloaded, maybe because I’m on a Mac?

Also, it looks like the entirety of Blender 2.68 is included in the download?
You also included a Python license, do you know if that’s necessary for all games, or just because you included Blender in the zip?

Your code looks good though! Keep it up.