Difference between revisions of "Sudoku"

From WiiBrew
Jump to navigation Jump to search
Line 11: Line 11:
 
}}
 
}}
  
{{stub}}
+
==Introduction==
 
 
= Introduction =
 
 
Figure out the correct placement of all the numbers.
 
Figure out the correct placement of all the numbers.
  
Line 21: Line 19:
 
The project is open source with plans for as open a license as possible. However, certain subcomponents may have licensing restrictions which affect the license of the project as a whole. Further study on this item required before license terms are finalized.
 
The project is open source with plans for as open a license as possible. However, certain subcomponents may have licensing restrictions which affect the license of the project as a whole. Further study on this item required before license terms are finalized.
  
= Details =
+
==Details==
 
Presently at version 0.1a of the game, the following has been implemented.
 
Presently at version 0.1a of the game, the following has been implemented.
 
*generation of classic 9x9 sudoku puzzle (no difficulty control)
 
*generation of classic 9x9 sudoku puzzle (no difficulty control)
Line 35: Line 33:
 
The game will check for any incorrect cells (i.e. duplicate numbers in any row, column or 3x3 cell). Any incorrect cells will be highlighted with a red tint.
 
The game will check for any incorrect cells (i.e. duplicate numbers in any row, column or 3x3 cell). Any incorrect cells will be highlighted with a red tint.
  
= Controls =
+
==Controls==
 
Hold the [http://en.wikipedia.org/wiki/Wiimote WiiMote] sideways as per [+ : oo] (NES Style)
 
Hold the [http://en.wikipedia.org/wiki/Wiimote WiiMote] sideways as per [+ : oo] (NES Style)
 
*Directional Pad (D Pad) to control navigation
 
*Directional Pad (D Pad) to control navigation
Line 45: Line 43:
 
*'A' button toggles 'uncertain' marking for the cells.
 
*'A' button toggles 'uncertain' marking for the cells.
  
= Credits =
+
==Credits==
  
 
Credit where credit is due..
 
Credit where credit is due..
Line 58: Line 56:
 
*libpng
 
*libpng
  
GIMP was used to create the tiles graphics
+
GIMP was used to create the tiles graphics and also the hbc channel label.
 +
Continuum font was used in the hbc label.
  
=Coming soon=
+
==Coming soon==
  
 
The following are under development. Suggestions and patches welcome.
 
The following are under development. Suggestions and patches welcome.

Revision as of 14:09, 16 June 2008

Sudoku
General
Author(s)dlkj
TypeGame
Links
[[sudoku.tar.gz v0.1a|Download]]
[[sudoku_src.tar.gz|Source]]
Peripherals
Wiimote1.svg


Introduction

Figure out the correct placement of all the numbers.

This project implements a simple sudoku game on the wii. The recommended way to launch this is via the homebrew channel. Control is via the standard wiimmote (1 player only) held sideways.

The project is open source with plans for as open a license as possible. However, certain subcomponents may have licensing restrictions which affect the license of the project as a whole. Further study on this item required before license terms are finalized.

Details

Presently at version 0.1a of the game, the following has been implemented.

  • generation of classic 9x9 sudoku puzzle (no difficulty control)
  • save and continue of puzzle
  • auto checking of the puzzle for incorrect cells

The puzzle is controlled by moving an on screen cursor. The cursor will wraparound the edges of the puzzle if you try to move past the edge.

The value under the cursor is incremented/decremented to the desired value. Value '0' is shown as a blank cell. Values are wraparound from 0 to 9 as well.

If desired, the user may mark a cell as 'uncertain' by pressing the 'A' button. This can be toggled off if desired via the same button. 'uncertain' cells are marked with a gray background.

The game will check for any incorrect cells (i.e. duplicate numbers in any row, column or 3x3 cell). Any incorrect cells will be highlighted with a red tint.

Controls

Hold the WiiMote sideways as per [+ : oo] (NES Style)

  • Directional Pad (D Pad) to control navigation
  • 'home' button exits game
  • '1' button decrements number
  • '2' button increments number
  • '+' button resets game and generates new random board
  • '-' button saves game to SD card
  • 'A' button toggles 'uncertain' marking for the cells.

Credits

Credit where credit is due..

The guys at #wiidev who are always entertaining and give good advice (as far as wii development is concerned)

Sudoku Puzzle generator currently uses ssudg. This might change in the future after further investigation of suitable alternatives.

libraries used

  • libogc
  • libfat
  • libpng

GIMP was used to create the tiles graphics and also the hbc channel label. Continuum font was used in the hbc label.

Coming soon

The following are under development. Suggestions and patches welcome.

  • Menu system
  • screen capture capability
  • alternate tileset