J2ME Game of Ducky

Sudoku game for J2ME MIDP 2.0 devices

This is an open source implementation of the Sudoku game. This game should work on all Java MIDP 2.0 enabled devices, so far it has been tested on a few Nokia S40, S60 and S80 models. Devices with MIDP-1.x profile will be supported if someone comes up with an idea how to create one multiprofile jar out of single set of sources.

Introduction

The goal of Sudoku is to place numbers from 1 to 9 once in every 3x3 square (made of thick lines), once in every row and once in every column.

This program can generate new Sudoku puzzles. You can also input your own Sudokus (e.g. from web or news paper) and save them for later playing. The puzzles generated by the program even at the hardest level are at most 2 to 3 stars of difficulty on the scale usually used in news papers. So for real brain frustration stick to the published puzzles.

Cheating is also possible, either by letting this program to solve the puzzle or allowing you to check if the puzzle is still solvable from the current state. The solver uses a brute force algorithm, so on low end devices it may take quite a long time or it may even run out of memory.

While playing you can push the current game into a stack. This way you can try out different choices and if you end up with non-solvable puzzle, just pop back previously pushed game and try out an other approach.

Download

Point your mobile phone to this for download: sudoku_me.jad

Or if the above did not work, here is the jar-file: sudoku_me.jar

The source code is available here sudoku_me.zip

Copyright info

Sudoku_me v2.0 Copyright (C) 2006 Tatu Männistö.

This code has been released under the terms of GNU General Public License version 2, see GPL for details.

Credits

The original FreeDoku version 1.0 and initial idea by Jere Sanisalo http://www.xmunkki.org.