aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qtopia/zudoku
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-07-24 17:57:24 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2011-07-30 02:35:12 +0100
commite9b45ff67d32fdc27950a51135b6dabada8334e7 (patch)
treede99cd760c8292ee1dd334e23e1e5cc43e90dfbd /recipes-qtopia/zudoku
downloadmeta-opie-e9b45ff67d32fdc27950a51135b6dabada8334e7.tar.gz
meta-opie-e9b45ff67d32fdc27950a51135b6dabada8334e7.tar.bz2
meta-opie-e9b45ff67d32fdc27950a51135b6dabada8334e7.zip
initial commit of meta-opie
Populate the repository with files from OpenEmbedded at revision 45edf621296daf150c72b876d720861235e5762e - no changes, only rearranged the directory structure to match the new oe-core style and added COPYING.MIT and README. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-qtopia/zudoku')
-rw-r--r--recipes-qtopia/zudoku/zudoku/zudoku.desktop6
-rw-r--r--recipes-qtopia/zudoku/zudoku/zudoku.html51
-rw-r--r--recipes-qtopia/zudoku/zudoku_1.1.bb27
3 files changed, 84 insertions, 0 deletions
diff --git a/recipes-qtopia/zudoku/zudoku/zudoku.desktop b/recipes-qtopia/zudoku/zudoku/zudoku.desktop
new file mode 100644
index 0000000..5b5f9f2
--- /dev/null
+++ b/recipes-qtopia/zudoku/zudoku/zudoku.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Type=Application
+Exec=zudoku
+Icon=zudoku
+Comment=
+Name=Zudoku
diff --git a/recipes-qtopia/zudoku/zudoku/zudoku.html b/recipes-qtopia/zudoku/zudoku/zudoku.html
new file mode 100644
index 0000000..b5ceaac
--- /dev/null
+++ b/recipes-qtopia/zudoku/zudoku/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/recipes-qtopia/zudoku/zudoku_1.1.bb b/recipes-qtopia/zudoku/zudoku_1.1.bb
new file mode 100644
index 0000000..d7d93bf
--- /dev/null
+++ b/recipes-qtopia/zudoku/zudoku_1.1.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "A Sudoku Game for Opie"
+HOMEPAGE = "http://figlabs.com"
+AUTHOR = "FigLabs"
+LICENSE = "GPL"
+SECTION = "opie/games"
+APPTYPE = "binary"
+APPDESKTOP = "${WORKDIR}"
+PR = "r1"
+
+SRC_URI = "http://www.vanille.de/mirror/zudoku-${PV}.tar.gz \
+ file://zudoku.html \
+ file://zudoku.desktop"
+
+inherit opie
+
+EXTRA_QMAKEVARS_POST += "TARGET=zudoku"
+LDFLAGS += "-lstdc++"
+
+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
+}
+
+SRC_URI[md5sum] = "8f8fd0e106c81897f0c8c3049dbf57de"
+SRC_URI[sha256sum] = "42494c9c712caaf3ca96f8abf59aaeb0fb3dbd2076c21d8642ea4c6cd9a04900"