Re: othello data structures etc.
- From: Matthew Hills <hills@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 22 Sep 2005 15:10:13 +0000 (UTC)
<bob@xxxxxxxxxxxxxx> wrote:
>I was just wondering if you guys know what data structures and
>functions are best for an Othello game. Right now, I'm just using an
>array of 64 chars.
>
>Also, my functions for enumerating moves and what not probably are
>quite suboptimal. If anyone has any insights regarding this sort of
>thing, I'd love to hear about them.
By far your biggest win will come from algorithmic improvements, so choose
a sensible approach to the game mechanics, but don't make your life too
complicated.
An array of chars is fine (don't copy the board, though). This is often set
up as an array of 10x10, with the extra edges set up as illegal squares (this
simplifies edge checking)
You can get info on othello programs at:
http://satirist.org/learn-game/systems/othello/
There are also some interesting papers on othello in the literature.
I'd recommend reading the dissertation on Keyano for a survey of the
field.
Matt
.
- Follow-Ups:
- Re: othello data structures etc.
- From: Richard Delorme
- Re: othello data structures etc.
- References:
- othello data structures etc.
- From: bob
- othello data structures etc.
- Prev by Date: Re : othello data structures etc.
- Next by Date: Re: othello data structures etc.
- Previous by thread: Re : othello data structures etc.
- Next by thread: Re: othello data structures etc.
- Index(es):
Relevant Pages
|
|