# Atoms! (2-4 Player Strategy Board Game)

My first game in Unity, it’s a quick remake of an Amiga game I remember playing as a kid.

http://dl.dropbox.com/u/74425765/WebPlayer/WebPlayer.html

Nice game, would be great if you had an AI player.

Neat game. But I don’t get the rules.

I second the AI player suggestion (and I remember it with one atom less to explode per square) but it’s a good start.

Each square can hold a number of atoms depending on its position on the board. Squares with two adjacent tiles can hold two atoms, squares with three adjacent tiles can hold three and so forth. If more than the maximum number of atoms are placed on a tile, it explodes and moves one atom to each of the adjacent tiles, possibly triggering a chain reaction. If you happen to hit an opponent’s tile, you get those atoms as well.

Thanks for the comments. Especially for the rules explanation, c-Row.

AI would definitely add a lot to the game, although I’m not sure on the best way to approach it.

I imagine I would need to find a way to calculate the value of each possible move, based on factors like the strength of the square (how many counters does it contain), the strength of adjacent (and diagonal) squares, and how many counters could be captured by exploding that square.

But how to go about more intelligent play like sacrificing atoms in order to force others to explode their atoms first (which the AI could then recapture)?

You may be right there. At the moment, whenever you explode a square you are effectively losing an atom because you don’t get anything for the extra turn to trigger the explosion. Nothing would be lost in terms of strategy by having it take one less to explode, and it would cut down on what is effectively padding.

That’s just how I remember it - nothing keeps you from changing the number of atoms. It’s your game.

As for the AI… if I am not mistaken, you are somewhat facing a slightly more complicated variant of the Tic Tac Toe AI which calculates the best score for every possible combination of player-turned moves. Maybe you should look into this general topic to get some ideas.