Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-01-2011, 02:38 PM   #286
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: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Found the problem. I have pushed the fix to the repository.
BenChen is offline   Reply With Quote
Old 04-01-2011, 02:55 PM   #287
VICTORSJG
Addict
VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.
 
Posts: 318
Karma: 1846
Join Date: Dec 2009
Device: PRS-505
Ben, does this move correct?
Attached Files
File Type: rar game.rar (130.1 KB, 170 views)
VICTORSJG is offline   Reply With Quote
Advert
Old 04-01-2011, 02:59 PM   #288
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: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by VICTORSJG View Post
Ben, does this move correct?
Hi there,

Yes, I just found that bug myself and fixed it. I pushed the update to the repository.

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 04-02-2011, 04:12 AM   #289
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
The latest version of games doesn't seem to improve situation with 950 hanging, if anything, it got worse.
kartu is offline   Reply With Quote
Old 04-02-2011, 02:01 PM   #290
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: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by kartu View Post
The latest version of games doesn't seem to improve situation with 950 hanging, if anything, it got worse.
I'm sorry to hear that. I wish we knew what was going wrong.
BenChen is offline   Reply With Quote
Advert
Old 04-03-2011, 09:03 AM   #291
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: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
XO-Cubed: Update

Hi everyone,

I've updated the AI in XO-Cubed. The end result is really quite challenging. So much so, that I decided to put in a difficulty selection. There are two difficulty levels: easy and hard. (I think this is as much AI as I want to do, so updates may be less frequent from now on.)

And to prove that it is still possible to win with difficulty "hard", I've attached a screenshot.

Sincerely,
Ben.
Attached Thumbnails
Click image for larger version

Name:	2011-04-03_165746.png
Views:	248
Size:	39.6 KB
ID:	69432  
BenChen is offline   Reply With Quote
Old 04-03-2011, 12:22 PM   #292
VICTORSJG
Addict
VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.
 
Posts: 318
Karma: 1846
Join Date: Dec 2009
Device: PRS-505
Ben, i don't know what are the reason why it's not posible to move the cards in the differente moves as shown in the pictures?
Attached Files
File Type: rar cards.rar (431.4 KB, 170 views)
VICTORSJG is offline   Reply With Quote
Old 04-03-2011, 12:49 PM   #293
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: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by VICTORSJG View Post
Ben, i don't know what are the reason why it's not posible to move the cards in the differente moves as shown in the pictures?
Hi Victor,

It is ONLY possible to move more than one card if there are free cells available. So to move a group of two cards, you must have one free cell available. Technically, you should click on the first card and move it to a free cell. Then you can click on the second card and move it to the new column. Then you move the first card out of the free cell to the new column. The short-cut move (where you move the two cards onto the new column) just saves all the clicking, but it still assumes that is what happened.

So let me explain your pictures. In number 1, you have no free cells, so it is impossible to move more than one card at a time. In number 2, you only have 1 free cell but you are trying to move 3 cards which requires 2 free cells. In number 3, you have 3 free cells, but you are trying to move 6 cards which would require 7 free cells.

Does that make sense?

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 04-06-2011, 11:01 AM   #294
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: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
XO-Cubed: Update

Hi everyone,

Just a few more additions to XO-Cubed (available in the repository). I added some more to the AI and then added another difficulty level: 'very hard'. It is still possible to beat it at this new level, but you have to work at it a lot more (see screenshot below). Also, the losing player now goes first the next game. This includes 1 Player mode, so sometimes the reader goes first!

Let me know if you find any problems.

Sincerely,
Ben.
Attached Thumbnails
Click image for larger version

Name:	2011-04-06_162430.jpg
Views:	231
Size:	128.8 KB
ID:	69577  
BenChen is offline   Reply With Quote
Old 04-07-2011, 11:04 AM   #295
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: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
XO-Cubed: Another Update

Hi everyone,

Well, I made a few small changes to the game. I got rid of the "very hard" setting. Now there is just easy and hard. I made a few more tweaks to the AI, and got rid a couple of bugs.

Let me know if you discover anything strange. I haven't done a lot of testing since the changes, but more importantly I haven't yet won in the new-look "hard" mode. I assume it is possible, but I did put quite a lot of blocking into the AI, so who knows!

Latest version in the repository: here

Sincerely,
Ben.

EDIT: Yes, it is possible to win on hard:
Attached Thumbnails
Click image for larger version

Name:	2011-4-7.jpg
Views:	225
Size:	65.6 KB
ID:	69615  

Last edited by BenChen; 04-07-2011 at 12:56 PM. Reason: Added screenshot
BenChen is offline   Reply With Quote
Old 04-09-2011, 05:12 PM   #296
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Quote:
Originally Posted by TJ27 View Post
BenChen
Please make/adapt minisweeper , if possible
Just to avoid redundancies, I've started on MineSweeper.

When I have more then a first sketch of the UI, I will push it to repository.
Attached Thumbnails
Click image for larger version

Name:	Image1.jpg
Views:	247
Size:	110.6 KB
ID:	69723  
Mark Nord is offline   Reply With Quote
Old 04-10-2011, 02:22 AM   #297
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: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by Mark Nord View Post
Just to avoid redundancies, I've started on MineSweeper.

When I have more then a first sketch of the UI, I will push it to repository.
Wow, that looks good! Can't wait to see it.
Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 04-11-2011, 04:48 AM   #298
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: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Hi Mark,

I noticed your recent update on the repository removed XO-Cubed from the menus. I have put it back in, and pushed to the repository.

Good luck with Minesweeper. How are you going to handle not having a left and right mouse button? One possibility is to have a tools panel with two tools: a "flag placer" tool and a "step on button" tool. Then you can do everything with single clicks. The "flag placer" tool would toggle through "I think there is a mine here", "not sure what is here", and "nothing is here" icons. The "step on button" tool would reveal what is in fact underneath that button.

(There's still the "hold left click on number and press right to release all buttons around that number" functionality. That could be done by using the "step on button" tool and a single click on the number.)

Not sure how all this would go with a non-Touch reader, though. Perhaps a button that toggles which tool is currently active?

All of the above is just a suggestion! I look forward to seeing what you come up with.

(By the way, I like the fact that you can set the FSK Sim to be Touch by default!)

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 04-11-2011, 02:03 PM   #299
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Quote:
Originally Posted by BenChen View Post
I noticed your recent update on the repository removed XO-Cubed from the menus. I have put it back in, and pushed to the repository.
Sorry, this wasn't done intentionally.
I was struggling to get up the new prsp.js starter script with langugage-support instead of PRSPlus.js, and cleaning out the uggly "error while replicate" on startup of the Sim, so I must have messed up with XO-Cubed.
Thanks for fixing that.

Quote:
Good luck with Minesweeper. How are you going to handle not having a left and right mouse button? One possibility is to have a tools panel with two tools: a "flag placer" tool and a "step on button" tool. Then you can do everything with single clicks. The "flag placer" tool would toggle through "I think there is a mine here", "not sure what is here", and "nothing is here" icons. The "step on button" tool would reveal what is in fact underneath that button.
Thanks a lot
Thought of a "Mode-indicator" top-right in the menu bar. (Already put)
Showing "Mode: step", or "Mode: flag"
In a first attemp, mode-switching will be bound to previous/next keys

Quote:
There's still the "hold left click on number and press right to release all buttons around that number" functionality. That could be done by using the "step on button" tool and a single click on the number.)
I think I will try it that way

Quote:
Not sure how all this would go with a non-Touch reader, though. Perhaps a button that toggles which tool is currently active?
I will go for the touch functionallity first. But with mode-selection done with prev/next, the center-button will do it for the non-touch readers.

Quote:
All of the above is just a suggestion! I look forward to seeing what you come up with.
I am curious too, to what that will lead in the end.

Quote:
(By the way, I like the fact that you can set the FSK Sim to be Touch by default!)
You can now set the prefered skin within user.config, without editing _PRSPlus.js (which was possible form the start, btw.)
Theoretically the Sim provides now language-support. Also setable via user.config. But I couldn't test so far.
Regards
Mark
Mark Nord is offline   Reply With Quote
Old 04-13-2011, 03:11 PM   #300
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
First "working" version of MineSweeper pushed to the repository!

Only Beginner-Level, only for Sim and maybe touch-devices.
  • Switch Mode with prev/next (no hint-text at this moment)
  • restart by tapping the face is possible
  • no play-time shown yet
  • menus not active yet

If anyone is so brave to test this on a real device please report if the squares are large enough for gameplay. I assume that the stylus will be needed.

But on the other hand for Intermediate and Expert level 15 columns and even more rows are necessary.

PS: the porting of the scripts suggested by TJ27 works very smooth so far.

Last edited by Mark Nord; 04-13-2011 at 03:13 PM.
Mark Nord is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fsk error, code = -13 Brian Charles Sony Reader 4 04-23-2010 04:21 PM
Fsk error code= -43 shrktank Sony Reader 1 12-24-2009 09:32 AM
Just a silly tweak: AUTORUN.INF for Windows Rootman Kindle Developer's Corner 3 12-04-2009 10:17 AM
Request for test in Windows XP kovidgoyal Calibre 5 08-26-2009 01:14 PM
Windows Develpment Environment issue itimpi Calibre 20 01-17-2009 07:15 PM


All times are GMT -4. The time now is 05:21 PM.


MobileRead.com is a privately owned, operated and funded community.