A modern Java reimagining of the classic Windows 3.1 Same Game by Ikuo Hirohata. Click groups of matching tiles, clear the board, and chase a high score - with undo/redo, multiple visual skins, and plenty of customization options.
Same Game is played on a grid of colored blocks.
- Click a group of two or more adjoining blocks of the same color to highlight them. Notice the amount of points the selection is worth (bottom left corner of the screen).
- Click again on the highlighted group to remove it and score the points displayed.
- Click elsewhere to clear the highlight without removing blocks.
- After removal, blocks fall down and empty columns slide left.
- The game ends when no more groups of two or more can be removed.
- Your goal is to remove as many blocks as possible - ideally all of them.
You score more points for removing larger groups at a time. The formula for scoring points for removing n blocks in one move:
Points(n) = n² − 3n + 4
| Blocks removed | Points |
|---|---|
| 2 | 2 |
| 3 | 4 |
| 4 | 8 |
| 5 | 14 |
| 6 | 22 |
Look for big clusters when you can!
- Classic Same Game rules - adjacent blocks score points, gravity, and column collapse
- Undo / Redo - experiment with different moves without starting over
- High scores - top 10 scores saved with board size, color count, and date
- Board sizes - Small (10×10), Normal (20×10), Large (20×20), or Custom (Any size from 5×5 to 50×50)
- Three Difficulty levels - Easy (clustered colors), Medium (random), Hard (scattered colors)
- Optional countdown timer - configurable time limit (default 180 seconds)
- Multiple tile skins - Modern, Classic, Marbles, Blockcraft, Bricks, Shapes, and Gems
- Themes & backgrounds - Light/Dark UI themes; black or green background
- Custom colors - pick your own palette (3–6 colors) in Advanced Options
- Animations - animated tile movement (click the board to skip); can be toggled on/off
- Sound effects - subtle audio cues for each action, enhancing the gameplay experience; can be toggled on/off.
- Optional background music - soothing background music (can be toggled on/off)
- Internationalization - language support (English included - feel free to contribute a translated language file!)
| Shortcut | Action |
|---|---|
| F2 | New Game |
| F1 | Help |
| Ctrl+Z | Undo |
| Ctrl+Y | Redo |
| Menu | Notable options |
|---|---|
| File | New Game, Restart (same board seed), Undo, Redo, Exit |
| Options | Language, Difficulty, Size, Sound, Animations, Advanced |
| View | Skin, Objectives (remaining blocks per color), High Scores |
| Help | In-app help, About |
Advanced Options lets you customize board dimensions, number of colors, timer, skin, UI theme, background, tile colors, randomness (shuffle intensity within the chosen difficulty), and more.
- Java 21 or later
mvn clean packagejava -jar "target/Same Game 1.0.0.jar"Or during development:
mvn exec:java -Dexec.mainClass="com.failprooftech.SameGame"