View Single Post
Old 06-11-2011, 04:12 AM   #396
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 527
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Puzzles added to Chess!

Hi everyone,

I have just pushed a significant upgrade to Chess to the apps repository. As per a request, I have added Chess Puzzles! It hasn't been tested on an actual reader yet, but it is working in the Sim in both touch and non-touch modes.

On touch, you will see a new button near the top-left. On non-touch, you have to hold 1. A panel will appear (thanks, Mark, for your MineSweeper code!). In touch, you can click the "-" and "+" buttons to change the puzzle numbers. Click the option buttons to choose which type of puzzle will be loaded, then click the load button. In non-touch, up and down shifts the focus, left and right changes the currently selected number. Pressing the center button will change which puzzle type is selected and also push buttons if they are currently in focus.

When the puzzle appears, you can see the name of the puzzle (basically just the names of the players, the location and date) and the web page source. I have NOT implemented any solutions. And I cannot promise that the AI will move the same way as a chess grandmaster, so YOUR MILAGE MAY VARY! However, if you get stuck, you can go to the webpage indicated, find the puzzle, and get the solution.

Finally, the currently selected puzzle numbers (for all three types) are saved to a file, so you don't have to remember which one you are up to!

I imagine there will still be some bugs. So if you find anything, just let me know here.

Sincerely,
Ben.
Attached Thumbnails
Click image for larger version

Name:	2011-06-11_120735.jpg
Views:	237
Size:	79.7 KB
ID:	72619  
BenChen is offline   Reply With Quote