The source code of all apps is included in the JDroidLib distribution.
MasterMind is a well-known logic game. At the beginning of the game, the computer defines a four-digit color code out of six different colors. It does not matter if the color code has more than one or more of the same color. The player tries to decrypt the color code by placing colored pegs in a row on the board. After each guess, the player receives information about his/her code. If a peg has the correct color and is placed at the right spot, a black stick is shown. If the color is correct, but the spot is not, a white stick is shown. If none of these criterias are reached, no stick is placed. The goal of the game is to decrypt the code with the least possible guesses. If the player does not find out the code after 7 guesses, the game is over and the color code is shown. In our example (designed by Stefan Moser) the colored pegs are placed with a tap on the peg. Tapping on the peg again will change the color. A guess is finished by tapping the question mark. If the game is over, it can be restarted by tapping on the board. The application is ported from JGameGrid. See here for further information. Download Android app for installation on a smartphone or emulator. Create QR code to download Android app to your smartphone. Download sources (MasterMind.zip).
In the leftmost position of the game window, different fruits are created in randomly chosen vertical positions. These move on a trajectory parabola and thereby turn around their own axis. The challenge of the game is to "slice away" all fruits before they arrive at the lower bottom of the game window. Download Android app for installation on a smartphone or emulator. Create QR code to download Android app to your smartphone. Download sources (SliceIt.zip).
The visualization of the Mandelbrot set is not really a game but shows the beauty of fractal images. The set has a property called "self-similarity". If the same algorithm is applied to a partial area, the structure of the image remains the same.
Download Android app for installation on a smartphone or emulator. Create QR code to download Android app to your smartphone. Download sources (Mandelbrot.zip).
| ||