HOME | DD

Fresh-Grass — Moduko

Published: 2010-09-04 13:24:00 +0000 UTC; Views: 1225; Favourites: 2; Downloads: 26
Redirect to original
Description My first graphical user interface in C#, much easier to develop than in C++ (even if you use MFC library).

About the game, it's my variant of sudoku. I was writing my own algorithm for generating sudoku puzzles and I used modulo on numbers just to see if the puzzles are solvable. Since it was quite fun to solve these new puzzles (at least for me), I decided to make a full game out of it. The name "Moduko" is based on modulo operation: wikipedia's page

How to play:
"Start-up" puzzle has 6 regions (6 squares per region), each region has 2 rows and 3 columns, there are 3 colors.
Every color appears twice (size / color) in each region, twice in each row and twice in each column.
Left-click on squares to set color/number.
Right-click to revers.
Any other mouse-click to empty a square.

Different settings, different complexity. For example, you could set 3 rows, 3 columns and 8 colors. This will create 9x9 puzzle, but with a twist - one of the colors will always appear twice everywhere. But if you'd set 9 colors, the puzzle would play like a normal sudoku.

If you have trouble with colors, you can use numbers, or both.
You can save and open puzzles (.mdko format, your progress will be saved),
pause, restart, hide the timer,
check for mistakes and show solution.

Also, solved puzzles are latin square "paintings" (grid of numbers from combinatorics). More about them on wikipedia's page
Related content
Comments: 3

RabidRabies [2010-09-07 23:05:42 +0000 UTC]

Wow! Thats so cool!

👍: 0 ⏩: 1

Fresh-Grass In reply to RabidRabies [2010-09-08 18:59:33 +0000 UTC]

Thanks! I still haven't try to develop a GUI with Java, but I'm sure C# is by far the easiest.

👍: 0 ⏩: 1

RabidRabies In reply to Fresh-Grass [2010-09-08 23:35:05 +0000 UTC]

Sweet!

👍: 0 ⏩: 0