Marbles is a strategy game for smart devices to the smart users. The idea is taken from an old game called Marbles Deluxe.
How to play
The goal of the game is to move the ball to get all jewels then go to the target block. While doing this, you can switch pairs of blocks to make space for the ball.
Click on a block to select it then click it again to move the ball to this block, or click another block to switch the two blocks.
Some blocks cannot be switched like the target and the jewels. Some blocks will kill you like the skull block. Some blocks will move you like the arrows blocks.
Take care blocks vanish after you move on them. You will not be able to go backward. Except white blocks, you can hit them two times before they vanish.
The code is readable and contains comments that don't need explanation except for some bug fixes. The Game contains two classes:
Marbles: which is the main form of the application and has all the interactivity of the game and its rules.
Board: which has the information of the game and how to save it and load it.
Images for the game were created using 3D studio MAX 5. I'm a graphics designer too.
To create more levels
You can create your own editor for the game levels on a smart device or a normal windows application. To create the editor you will use the
Board class and fill it with numbers of the images that are provided in the source project. Then save the file by calling the function void
This is the code for saving the level after editing:
void Save(string file)
StreamWriter r=new StreamWriter(file);
If you like it, please vote for it.