abalone

A curses implementation of a two-player board game.

abalone.tar.gz 11 May 2004 10.3k

Description

I was looking in a puzzle shop at Milaney and saw this Abalone game set for the first time, memorized the rules, and then looked on the net to see if there were any free games of it around.

The closest I could find was this but it's 5 years old and the source file is missing. So I wrote my own, as a tournament architecture for playing AI modules against each other. One of the modules is a curses-based human UI so you can play against the (simple) AI module I did write. That's curses with colour and mouse support!

The AI module uses some basic heuristics, and above 5-ply I cannot beat it.

The display (shown above) includes a scrollable turn history, so you can view the board state and player actions simply by bouncing on the prev/next keys. It was a bit of fun to rewind and play back a long and involved game against the AI.

Licence

This software has been placed in the public domain.