Morabaraba Board Control Nearly Done

|

In spite of the weekend having a late start (flooding "down South" severely disrupted train and road travel, meaning it took a loooong time to get home from London), I've managed to complete most of the work on the new Morabaraba control. Here's what it has:

  • Fully-themeable interface
  • Point-and-click move entry
  • Point-and click position entry
  • Move animation
  • Raises events for moves entered, illegal moves, position updated etc
  • Legal move validation

This makes the control quite useable; I have played the odd game or two on it already. However, there is still a little work to do:

  • Complete legal move validation (eg it will allow you to capture a piece in a mill even if other pieces - not in a mill - could be captured)
  • Validation of input position strings
  • Detecting win/lose states
  • Indicators of non-graphical position data (eg cows in hand, side to move, half move clock, last move)
  • Test on Linux (so far testing only on Win32)

The control raises events when things happen (eg position was updated, move was entered, illegal move, board was clicked), and has input states for making moves and editing the position. It talks the standard Morabaraba notation, which should make it nice and easy to integrate with AHEM, FIMS and anything else I come up with Morabaraba-wise.

The control is developed in Lazarus, the FreePascal-based cross-platform IDE, which means that it can be used to build apps for Windows, Linux, MacOS X and various others. I hope to have the control completed by the end of next weekend, or earlier - depending on free time availability. After that, I will create a new version of my Morabaraba-playing program to allow you to play against the AHEM engine with the control - however, this shouldn't take long at all.


tagged

hi adam
i was tagged and i am tagging you! i was supposed to tag eight people but you are the only person with a blog i know ... well at least the only one who has not already been tagged........
see my blog of 10/08/07 for the rules of the game!!
love ya

sandwriter (the mind nomadic)