Om 2008 Sudoku

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(notes)
 
(Usage)
Line 15: Line 15:
  
 
== Usage ==
 
== Usage ==
There are 5 icons and a number keyboard at the bottom. Choose one empty grid and pick up one suitable number to fill in! If the number is wrong/illegal, then number color becomes red.  
+
There are 5 icons and a number keyboard at the bottom. Choose one empty grid and pick up one suitable number to fill in! If the number is wrong/illegal, that number shows up in red.  
  
 
* icons (from left to right)
 
* icons (from left to right)
Line 24: Line 24:
 
# Check solved or not solved
 
# Check solved or not solved
  
* 1-9 number keyboard  
+
* 1-9 number keyboard
  
 
== Source code ==
 
== Source code ==

Revision as of 09:41, 7 August 2008


Contents

Introduction

Sudoku is a UI application and it plays like normal sudoku puzzle games. It is a logic-based number-placement puzzle. The objective is to fill a 9×9 grid so that each column, each row, and each of the nine 3×3 boxes (also called blocks or regions) contains the digits from 1 to 9 only one time each. The puzzle setter provides a partially completed grid. For more information, refer to the Sudoku rules.

Sudoku-1.png
Sudoku-2.png
Sudoku-3.png
Sudoku-4.png

Usage

There are 5 icons and a number keyboard at the bottom. Choose one empty grid and pick up one suitable number to fill in! If the number is wrong/illegal, that number shows up in red.

  • icons (from left to right)
  1. Create New puzzle
  2. Undo a step
  3. Redo a step
  4. Clear all filled-in numbers
  5. Check solved or not solved
  • 1-9 number keyboard

Source code

This UI application is written by python. Download the source code, it comes with a generator and solver. You can generate different level of puzzles. Code is from here. Check the README document!


Reference

[1] Sudoku project - http://projects.openmoko.org/projects/pyefl-sudoku/

Personal tools
Key pages on:
Om 2008


Introduction

Sudoku is a UI application and it plays like normal sudoku puzzle games. It is a logic-based number-placement puzzle. The objective is to fill a 9×9 grid so that each column, each row, and each of the nine 3×3 boxes (also called blocks or regions) contains the digits from 1 to 9 only one time each. The puzzle setter provides a partially completed grid. For more information, refer to the Sudoku rules.

Sudoku-1.png
Sudoku-2.png
Sudoku-3.png
Sudoku-4.png

Usage

There are 5 icons and a number keyboard at the bottom. Choose one empty grid and pick up one suitable number to fill in! If the number is wrong/illegal, then number color becomes red.

  • icons (from left to right)
  1. Create New puzzle
  2. Undo a step
  3. Redo a step
  4. Clear all filled-in numbers
  5. Check solved or not solved
  • 1-9 number keyboard

Source code

This UI application is written by python. Download the source code, it comes with a generator and solver. You can generate different level of puzzles. Code is from here. Check the README document!


Reference

[1] Sudoku project - http://projects.openmoko.org/projects/pyefl-sudoku/