summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-07-28 11:14:27 +0000
committerMichael Lauer <mickey@vanille-media.de>2006-07-28 11:14:27 +0000
commitc5e234a2ed7696263eb299577c600cfbf31ebc4c (patch)
tree1b75e6ae4b23d8519bdcf34872bb32a486292f45
parent40c2cb128cce5e25dfddc686d051a667ccb01eda (diff)
add zudoku, a sudoku game for Opie
-rw-r--r--packages/zudoku/.mtn2git_empty0
-rw-r--r--packages/zudoku/files/.mtn2git_empty0
-rw-r--r--packages/zudoku/files/zudoku.desktop6
-rw-r--r--packages/zudoku/files/zudoku.html51
-rw-r--r--packages/zudoku/zudoku_1.1.bb22
5 files changed, 79 insertions, 0 deletions
diff --git a/packages/zudoku/.mtn2git_empty b/packages/zudoku/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/zudoku/.mtn2git_empty
diff --git a/packages/zudoku/files/.mtn2git_empty b/packages/zudoku/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/zudoku/files/.mtn2git_empty
diff --git a/packages/zudoku/files/zudoku.desktop b/packages/zudoku/files/zudoku.desktop
new file mode 100644
index 0000000000..5b5f9f29f6
--- /dev/null
+++ b/packages/zudoku/files/zudoku.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Type=Application
+Exec=zudoku
+Icon=zudoku
+Comment=
+Name=Zudoku
diff --git a/packages/zudoku/files/zudoku.html b/packages/zudoku/files/zudoku.html
new file mode 100644
index 0000000000..b5ceaac4ee
--- /dev/null
+++ b/packages/zudoku/files/zudoku.html
@@ -0,0 +1,51 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+ <head>
+ <title>Fig Labs presents &#039;Zudoku&#039;!</title>
+ </head>
+ <p>
+ <h1>Fig Labs presents &#039;Zudoku&#039;!</h1>
+ <h2>About Zudoku</h2>
+ <p>Sudoku, sometimes written Su Doku, is a logic-based placement puzzle, also known as Number Place in the United States. The aim of the puzzle is to enter a numerical digit from 1 to 9 in each cell of a 9x9 grid, starting with various digits given in some cells (the "givens"). The grid is made up of 3x3 subgrids (called "regions"). Each row, column, and region must contain only one instance of each numeral. Completing the puzzle requires patience and logical ability. Although first published in 1979, Sudoku initially caught on in Japan in 1986 and attained international popularity in 2005. Fig Labs Zudoku is a free version of this popular puzzle for your computer.</p>
+ <h2>About Fig Labs</h2>
+ <p>The Fig Labs management team has over 35 years of portable computing experience; between us we've 'done time' at Psion, Symbian, Motorola, Gemplus and Intuwave, building systems software, applications and middleware. So we now feel that we are uniquely placed to tackle the big issue in constrained appliances - complexity - and subsequently make portable technology usable.</p>
+ <h2>Help</h2>
+ <p>You can use Fig Labs Zudoku to:
+ <ul>
+ <li>Generate an unlimited number of puzzles for you to play.</li>
+ <LI>Enter puzzles from newspapers or magazines so that you can play them on your computer.</LI>
+ <li>Create your own puzzles.</li>
+ <li>Help you with solving puzzles, or even solve an entire puzzle for you.</li>
+ <li>Print puzzles out to solve on paper.</li>
+ </ul>
+ </p>
+ <h3><b>Playing a puzzle</b></h3>
+ <p>When you first start Zudoku, it will generate a new 'medium' level puzzle for you. Thereafter, it will always start up from wherever you left it last time.</p>
+ <p>The bold digits are part of the puzzle, the "givens" - you can't change those unless you are designing the puzzle yourself. Digits you enter yourself are italic.</p>
+ <p>You can fill in the blank squares in two ways:
+ <ol><LI>Either: use the cursor keys to move round the grid and press 1-9 to fill in the current square.</LI>
+ <li>Or: click on a square and choose a digit from the pop-up list to fill it in.</li></ol></p>
+ <p>If you fill a square with a digit which breaks the rules of Sudoku, then that digit and those that it clashes with will be highlighted in red.</p>
+ <p>To delete a digit, just use the cursor keys to move to the square and press Spacebar, or click on it and select the blank entry from the pop-up list.</p>
+ <p>To help you solve more difficult puzzles, you can make 'pencil' marks on the board. Choose 'Make pencil marks' from the Game menu. After that, any moves you make will appear as small numbers in a gold colour. You can pencil in several numbers in as many squares as you like. To erase a pencil mark, enter the same number again. To erase all marks in a square, press Spacebar or choose the blank entry from the pop up menu.</p>
+ <p>If you want to start the current puzzle afresh, go to the Game menu and choose Start again.</p>
+ <p>If you want to print the puzzle out, choose Print from the File menu.</p>
+ <h3><b>Creating a new puzzle</b></h3>
+ <p>To start a new puzzle from scratch, go to the Game menu and choose New puzzle. While Zudoku is working, the grid will fill with question marks. When it is ready you will be presented with a brand new puzzle - probably one that has never been seen before!</p>
+ <p>When you start Zudoku, it is set to generate 'medium' level puzzles. To change the level of puzzle generated, go to the Game menu, choose New puzzle level, then pick a new level. If you set the level to Fiendish, sometimes Zudoku can only make a Difficult puzzle. If that happens, just generate again. If you choose 'Unlimited' Zudoku will try and make the hardest puzzle it can.</p>
+ <h3><b>Entering a printed puzzle</b></h3>
+ <p>If you have a printed puzzle, for example in a newspaper, magazine or book, you can enter that into Zudoku. You can then play it or solve it on your computer. To do this, just follow these steps:</p>
+ <p>
+ <ol><LI>Choose Design mode from the Game menu.</LI>
+ <li>Blank out the puzzle by choosing New blank puzzle from the Game menu.</li>
+ <li>Use the cursor keys or the pop-up list to enter digits into the puzzle to match the printed copy.</li>
+ <li>Choose Design mode again from the Game menu to leave Design mode. Zudoku now gives it a difficulty rating and you can start playing.</li></ol></p>
+ <h3><b>Creating your own puzzles</b></h3>
+ <p>Have a go at making your own puzzles - it's harder than it looks! Just go to Design mode as above, and place some digits.</p>
+ <p>If you try and put a digit in an invalid position while in Design mode, Zudoku won't let you do it. Try putting it somewhere else, or changing one of the other digits in the puzzle first.</p>
+ <p>Leave Design mode and see what Zudoku makes of your puzzle. It may tell you that there are Many solutions to the puzzle. In this case, you need to enter some more digits to make sure there is only a single solution. Sometimes Zudoku will think for a while and tell you there is no solution - you probably need to remove some digits to make your puzzle solvable.</p>
+ <h3><b>Helping you solve and design</b></h3>
+ <p>You can ask Zudoku to show you what numbers can possibly go in the empty squares. From the Game menu, choose Show possible moves. Zudoku will fill in small green digits to show the possibilities for each space. If there are 7 or more possible digits, Zudoku just puts an asterisk. If there are no possible digits, Zudoku puts a red exclamation mark.</p>
+ <p>If it all gets too much, or you are just interested to watch, you can ask Zudoku to solve the puzzle for you. Just choose Solve from the Game menu. You will see Zudoku rapidly filling in squares until the grid is full. Where a puzzle has more than one solution, it will simply display the first solution it comes across. If the puzzle is not solvable, Zudoku will try for a while before giving up and telling you.</p>
+ </body>
+</html> \ No newline at end of file
diff --git a/packages/zudoku/zudoku_1.1.bb b/packages/zudoku/zudoku_1.1.bb
new file mode 100644
index 0000000000..46c64ebb6e
--- /dev/null
+++ b/packages/zudoku/zudoku_1.1.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "A Sudoku Game for Opie"
+HOMEPAGE = "http://figlabs.com"
+AUTHOR = "FigLabs"
+LICENSE = "GPL"
+SECTION = "opie/games"
+APPTYPE = "binary"
+APPDESKTOP = "${WORKDIR}"
+
+SRC_URI = "http://www.vanille.de/mirror/zudoku-${PV}.tar.gz \
+ file://zudoku.html \
+ file://zudoku.desktop"
+
+inherit opie
+
+EXTRA_QMAKEVARS_POST += "TARGET=zudoku"
+
+do_install() {
+ install -d ${D}${palmtopdir}/help/en/html
+ install -m 0644 ${WORKDIR}/zudoku.html ${D}${palmtopdir}/help/en/html/
+ install -d ${D}${palmtopdir}/pics/
+ install -m 0644 zudoku64x64.png ${D}${palmtopdir}/pics/zudoku.png
+}