01-18-2016, 11:45 AM | #1 |
Enthusiast
Posts: 27
Karma: 12
Join Date: Jan 2016
Device: KT2
|
GTK Sudoku
Hello, I would like to share my sudoku game for the Kindle. I tested it on my KT2, it should work on other devices too but I can't test.
I did this just because I wanted to try to build an application for the Kindle, it's not perfect: there's no way to check if your solution is correct, but you can play. Also, I made this because the existing gtkSudoku (https://www.mobileread.com/forums/sho...d.php?t=188997) does not work on newer firmwares, mine should It ships with 12 puzzles taken from http://www.websudoku.com/ but you can put your own puzzles in the "data/puzzles" folder if you want. Put the sudoku folder in KUAL's extensions folder and you are ready. Cheers. Screenshot: Download: sudoku_0.3.zip Source code: https://github.com/sguerrini97/gtk_sudoku_kindle Last edited by sguerrini97; 01-19-2016 at 05:57 PM. |
01-18-2016, 04:03 PM | #2 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Last edited by knc1; 01-19-2016 at 08:04 AM. |
Advert | |
|
01-19-2016, 09:07 AM | #3 | |
Enthusiast
Posts: 27
Karma: 12
Join Date: Jan 2016
Device: KT2
|
Quote:
Also implemented a simple save/load function. Last edited by sguerrini97; 01-19-2016 at 09:10 AM. |
|
01-19-2016, 09:20 AM | #4 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
What where the major things different between the older one that ran on the older firmware and this one that runs on the newer 5.6.x firmware? Changes to the window title requirements? Different GTK version? |
|
01-19-2016, 12:07 PM | #5 |
Enthusiast
Posts: 27
Karma: 12
Join Date: Jan 2016
Device: KT2
|
I read about the strange window title here on the forum but to be honest I didn't dig too much into that.
I wasn't able to get any log when gtkSudoku froze, I think it's linked with a GTK library different from the one available on the 5.6.x firmware (I built this with the labraries taken from my 5.6.5 KT2), but this is only a thought, I didn't dig too much into that neither. I wanted to try to build a native app just for fun, I saw a non-working sudoku so I ended up with this. Last edited by sguerrini97; 01-23-2016 at 07:04 AM. |
Advert | |
|
01-19-2016, 12:17 PM | #6 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Probably a good guess. |
|
01-19-2016, 05:15 PM | #7 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Nice work!
And it works fine on my pre-5.6.x firmware too. Maybe gtkSudoku had more dependencies. (Was source code ever posted for it???) Random question: when a box is selected, would it be possible to distinguish it somehow. |
01-19-2016, 05:54 PM | #8 |
Enthusiast
Posts: 27
Karma: 12
Join Date: Jan 2016
Device: KT2
|
|
01-19-2016, 08:40 PM | #9 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
09-30-2016, 01:29 AM | #10 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2016
Device: Kindle Paperwhite PW 2
|
Working great on my PW2, thank you.
|
11-28-2016, 05:45 AM | #11 |
Junior Member
Posts: 7
Karma: 27532
Join Date: Sep 2013
Device: Kindle Touch
|
Thank you!
|
12-03-2020, 02:03 PM | #12 |
Junior Member
Posts: 1
Karma: 10
Join Date: Dec 2020
Device: Kindle Paperwhite 4
|
Appears to only use a small portion of the screen on my PW4. Any idea on a potential fix?
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
gtk-sudoku | twobob | Kindle Developer's Corner | 9 | 11-06-2013 07:31 AM |
Gtk themes? | aditya3098 | Kindle Developer's Corner | 2 | 10-30-2012 10:56 PM |
linking to gtk | chris_c | Kindle Developer's Corner | 7 | 08-25-2012 09:19 AM |
Is a gtk version possible? | frandavid100 | Calibre | 14 | 12-16-2008 03:09 PM |
Multiplayer Sudoku: Sudoku Combat! | PostGrant | Lounge | 1 | 06-20-2006 06:14 AM |