 |
BoardSpace.net a place for board games
|
| View previous topic :: View next topic |
| Author |
Message |
nausher
Joined: 29 Mar 2008 Posts: 13
|
Posted: Tue Oct 27, 2009 8:41 pm Post subject: Taiji Design |
|
|
Hi All,
I am working on getting Taiji (http://www.boardgamegeek.com/boardgame/31926) on BS.net.
Here are my initial thoughts on design, please feel free to add in.
== Evaluation Function ==
1) Size of current largest area
2) Size of current 2nd largest area
3) Possible increase of opponents largest area (block opponents contiguous location)
4) Play a piece which provides maximum connections to open spaces.
Background on Taiji is below -
== Play ==
The game begins with an empty board.
Starting with the Light player, players take turns placing one TAIJITU per turn on two unoccupied adjacent cells of the board.
The game ends when no TAIJITU can be placed on the board.
== Objective ==
The goal of the game is to get the highest score summing up the two largest groups of
horizontally or vertically (but not diagonally) connected squares of your colour (Light or Dark)
by placing TAIJITUs anywhere on the board, as long as there is a free space to do so.
If a game ends with equal scores then the second player (Dark) wins. |
|
| Back to top |
|
 |
admin Site Admin
Joined: 05 Mar 2005 Posts: 689
|
Posted: Tue Oct 27, 2009 9:30 pm Post subject: Re: Taiji Design |
|
|
| nausher wrote: |
Hi All,
== Evaluation Function ==
1) Size of current largest area
2) Size of current 2nd largest area
3) Possible increase of opponents largest area (block opponents contiguous location)
4) Play a piece which provides maximum connections to open spaces.
|
You generally shouldn't mix consideration of "self" and "opponent", because you'll end up doing everything twice and probably cancel out the desired influence in the process. When doing "eval-for-white" count white's opportunities, when doing "eval-for-black" count black's opportunities. The difference will automatically take into account the balance of helping white verses hurting black.
Also, think in terms of aggregate statistics; the differences for move A verses move B will automatically affect their relative rankings. For example, do a 2-step sweep to expand all areas into vacant space and use the new total area as a feature of the evaluator. Moves which open new areas automatically look better than those that simply cash in on existing expansion areas.
===
One more thing: this is the very last thing, not the first thing, you'll do when bringing Tajii online. It's fun to think about and satisfying to see the bot play, but the real work is preparing the board graphics, designing the representation and score-counting algorithm, mapping out which gestures are legal "now" and so on. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|