Othello is a particularly tricky game to model, since there isn't a particular orientation to the board, nor is there a "direction" that players "move".

This is similar to the way tic-tac-toe works ... it doesn't matter how you orient the board, so you want to make sure these two boards are both considered "equal"...

 x | o |         |   |
---+---+---   ---+---+---   
 o | x |       o | x |
---+---+---   ---+---+---   
   |   |       x | o |
...and if you are keeping track of the game state, and potential game state, you want to model the board insome way that considers those teh same "state".

Personally, I'd start with a simpiler game (backgammon is good, because it is very linear) but no matter what game you decide to use, make sure you search for existing documentation on game modeling, strategies, and board "ranking".

If the main thing you are intested in developing is a learning algorithm, then I would first spend some time looking for an existing framework/API for building an Othello playing bot. (many College AI classes have frameworks like this provided by the instructor which include all of the game modeling you need ... you just impliment some "player" interface.) Then you can focus on what you are really interested in, and not spend a lot of time worrying about modelling the game itself.

UPDATE: You should definitley consider using Games::Goban for representing boards/pieces, and you probably ought to read up on the SGF Format mentioned in the "See Also" section.


In reply to Re: Othello/Tree-Style Data Storage by hossman
in thread Othello/Tree-Style Data Storage by OverlordQ

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.