webOS Nation Forums >  Homebrew >  webOS homebrew apps > Yatz! - Yahtzee javascript port v0.1.0 (7/15)
Yatz! - Yahtzee javascript port v0.1.0 (7/15)

  Reply
 
LinkBack Thread Tools Display Modes
Old 07/15/2009, 10:11 AM   #1 (permalink)
Member

 
stickywhipit's Avatar
 
Join Date: Jul 2009
Posts: 202
Likes Received: 0
Thanks: 32
Thanked 111 Times in 23 Posts
Default Yatz! - Yahtzee javascript port v0.1.0 (7/15)

UPDATE: 10/14/2009, version 0.8.3, new version has been posted in the homebrew apps here. check it out! this version fixes the roll button bug when that game is initially opened and now remember the last name that got on the high scores board.

i am still working on undo, remember state of the game, global high scores and a friendlier ui so that this app can be moved to the app catalog.

UPDATE: 9/25/2009, version 0.8.1, new version has been posted in the homebrew apps here. check it out! this version includes 2 scoring bug fixes and now has high scores.

UPDATE: 8/20/2009, version 0.7.1, full webOS version has been posted in the homebrew apps here.

This is my first attempt at an app for webOS. I figured I'd start with a straight java script port, nothing fancy. The original code for this application was taken from Thomas Blum's implementation on CodeProject.com with his permission.

I have adapted the layout to fit the Palm Pre and plan to enhance it to be a full webOS-based app in the next version.

Until someone can post this in the homebrew forum, you can download the app, here.
Attached Files
File Type: ipk com.stickywhipit.app.yatz_0.1.0_all.ipk (17.2 KB, 1260 views) Email Attachment
Download URL:

Last edited by stickywhipit; 10/13/2009 at 11:13 PM. Reason: 0.8.3 version update
stickywhipit is offline   Reply With Quote
Old 07/15/2009, 10:24 AM   #2 (permalink)
Member
 
Join Date: Jun 2009
Posts: 164
Likes Received: 1
Thanks: 78
Thanked 11 Times in 7 Posts
Default

I can post it for you if need be.
abiezerf is offline   Reply With Quote
Old 07/15/2009, 11:13 AM   #3 (permalink)
Member
 
DaveInFL's Avatar
 
Join Date: Dec 2002
Location: WPB, FL
Posts: 923
Likes Received: 17
Thanks: 8
Thanked 29 Times in 24 Posts
Default

Installed this on the SDK and it works well Just need a high score table, and perhaps a welcome type screen

Good job.
__________________
Golf Caddie Homepage | Follow us on FACEBOOK
DaveInFL is offline   Reply With Quote
Old 07/15/2009, 12:19 PM   #4 (permalink)
Member
 
Join Date: Jul 2009
Posts: 252
Likes Received: 0
Thanks: 25
Thanked 72 Times in 46 Posts
Default

Screencaps anyone?
Habious is offline   Reply With Quote
Old 07/15/2009, 02:09 PM   #5 (permalink)
Member
 
KnoxBNYC's Avatar
 
Join Date: Nov 2008
Location: New York, NY
Posts: 333
Likes Received: 1
Thanks: 151
Thanked 65 Times in 37 Posts
Default Yahtzee

Here are a couple of screen captures for those who wanna see what the app looks like.

The dice roll quite nicely, though a bit tough to select/deselect IMHO.

The game works pretty well.

yatz_2009-15-07_150148.jpg yatz_2009-15-07_150309.jpg
KnoxBNYC is offline   Reply With Quote
Old 07/15/2009, 02:30 PM   #6 (permalink)
Member
 
sacherjj's Avatar
 
Join Date: Jun 2009
Location: Indianapolis, IN
Posts: 1,686
Likes Received: 0
Thanks: 41
Thanked 365 Times in 215 Posts
Default

Couple of things for next version and or WebOS port:

Need to enable vertical scrolling when you push the scene. With any notifications, the bottom is lost.

Have the select/deselect by clicking on the dice. This would also be more WebOS compatible with larger touch targets.
sacherjj is offline   Reply With Quote
Old 07/15/2009, 02:35 PM   #7 (permalink)
Member
 
Join Date: Jun 2009
Posts: 17
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Looking awesome! I'd just recommend working on a neater and more classic GUI.

Great work so far!
Epena is offline   Reply With Quote
Old 07/15/2009, 04:55 PM   #8 (permalink)
Member
 
Colonel Kernel's Avatar
 
Join Date: Apr 2009
Location: Boston, MA
Posts: 773
Likes Received: 0
Thanks: 191
Thanked 101 Times in 58 Posts
Default

You have to keep notifications in mind when designing the layout. But just because you have the ability to include a scrolling function doesn't mean you should. sacherjj's other piece of advice, clicking on the dice and removing the check-box selectors, should give you most of the room you need.
Colonel Kernel is offline   Reply With Quote
Old 07/15/2009, 07:41 PM   #9 (permalink)
Member
 
TMed_ATL's Avatar
 
Join Date: May 2009
Location: ATL/ Athens, GA
Posts: 413
Likes Received: 0
Thanks: 61
Thanked 27 Times in 24 Posts
Default

thanks, just read on the brickbreaker thread that you were going to post this once you got to 10 comments, I quoted you then saw your post. Keep up the good work!


Ok after playing many games i thought i give my two cents

-Purple is quite ugly IMHO red would be nice since thats what new yatzee boxes are
-The new button is in the wrong spot.. .I keep hitting it on accident and my fingers arnt that large. I just had 2 yatzees in one game but before i was done with the game i hit new on accident.... lameness

Besides that its a very fun game and i look foward to future versions of this app!
__________________
SCK Manager

Last edited by TMed_ATL; 07/19/2009 at 10:30 AM.
TMed_ATL is offline   Reply With Quote
Old 07/15/2009, 09:13 PM   #10 (permalink)
Member
 
Join Date: Jul 2009
Posts: 10
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is there any way to make this multiplayer?
mitchds is offline   Reply With Quote
Old 07/15/2009, 11:07 PM   #11 (permalink)
Member

 
stickywhipit's Avatar
 
Join Date: Jul 2009
Posts: 202
Likes Received: 0
Thanks: 32
Thanked 111 Times in 23 Posts
Default

thanks everyone for the comments.

i have plans for pretty much everything that everyone has said:
- i am going to make it a webos app, ie. scrolling and resizing and menus, right now everything is in the index.html
- it should eventually look neater, but i am graphically challenged, keep your fingers crossed
- it will have a high score table off the menu
- you already can tap the dice to select them! in version 0.1.0!! woot!
- multi-player... after trying connect4, i would love to get it going on this game too...

but baby steps first...
stickywhipit is offline   Reply With Quote
Thanked By: JimmieGeddes
Old 07/16/2009, 02:19 AM   #12 (permalink)
Member
 
JohnLBurger's Avatar
 
Join Date: Jun 2009
Location: Huntsville, AL
Posts: 206
Likes Received: 3
Thanks: 33
Thanked 25 Times in 14 Posts
Default

Looks good. One note: on the Rules/Scoring page, you can't scroll and see the rest of the information. The last line is describing the twos: "2. Twos: Sum of the twos displayed at time score is entered." Past that we cannot see. Just fyi.

Great app, functions well, and is a great yatzee-esque game. Thanks!
JohnLBurger is offline   Reply With Quote
Old 07/16/2009, 09:15 AM   #13 (permalink)
Member
 
Paladin's Avatar
 
Join Date: Nov 1999
Location: City of Champions!!!
Posts: 617
Likes Received: 0
Thanks: 5
Thanked 54 Times in 36 Posts
Default

Ack!!! Purple==UGLY!!!
Can you make it a nice blue or hunter green?

Direct ports are fine and a great way to learn. I am going to get into this myself if I can make time.
__________________
Systems Analyst by trade, Drummer by desire and Music Lover by birth. A self proclaimed Geek and gadget nut. ii

Did you know: The Pittsburgh Steelers have more championships than 21 other NFL teams combined!
Pittsburgh Steelers-6 Time Super Bowl Champions!

Pittsburgh Penguins-3 Time Stanley Cup Champions!
Paladin is offline   Reply With Quote
Old 07/16/2009, 10:19 AM   #14 (permalink)
Member

 
stickywhipit's Avatar
 
Join Date: Jul 2009
Posts: 202
Likes Received: 0
Thanks: 32
Thanked 111 Times in 23 Posts
Default

funny 1paladin!! it didn't even bother me at first, but now, you're right, ick!

johnlburger: that is what happens with a direct port. i have not figured out how to make a static html file scroll without webos-ness. as i get closer to 1.0 it will do it.
stickywhipit is offline   Reply With Quote
Old 07/16/2009, 11:40 AM   #15 (permalink)
Member
 
sacherjj's Avatar
 
Join Date: Jun 2009
Location: Indianapolis, IN
Posts: 1,686
Likes Received: 0
Thanks: 41
Thanked 365 Times in 215 Posts
Default

Take a look in the Services API on Palms developer site. They have support for various shaking actions. This would be a good bind for rolling dice, eliminating a button.
sacherjj is offline   Reply With Quote
Old 07/16/2009, 09:48 PM   #16 (permalink)
Member
 
Colonel Kernel's Avatar
 
Join Date: Apr 2009
Location: Boston, MA
Posts: 773
Likes Received: 0
Thanks: 191
Thanked 101 Times in 58 Posts
Default

Can you relocate the New Game button away from the other buttons? Right after getting Yahtzee with 5s I hit the button and ... D'oh!
Colonel Kernel is offline   Reply With Quote
Old 07/18/2009, 07:19 AM   #17 (permalink)
Member

 
stickywhipit's Avatar
 
Join Date: Jul 2009
Posts: 202
Likes Received: 0
Thanks: 32
Thanked 111 Times in 23 Posts
Default

Quote:
Originally Posted by Colonel Kernel View Post
Can you relocate the New Game button away from the other buttons? Right after getting Yahtzee with 5s I hit the button and ... D'oh!
it will be in the menu, tucked away...
stickywhipit is offline   Reply With Quote
Old 07/18/2009, 03:41 PM   #18 (permalink)
Member
 
Join Date: Jul 2009
Posts: 19
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Thanks
rj_989 is offline   Reply With Quote
Old 07/26/2009, 03:33 PM   #19 (permalink)
Member
 
johnknapik's Avatar
 
Join Date: May 2009
Posts: 39
Likes Received: 0
Thanks: 24
Thanked 2 Times in 2 Posts
Default

Works nice! Colors a little fugly but...nice job.
johnknapik is offline   Reply With Quote
Old 07/26/2009, 05:53 PM   #20 (permalink)
Member
 
Join Date: Jul 2009
Posts: 24
Likes Received: 0
Thanks: 0
Thanked 4 Times in 4 Posts
Default

thanks
mackgunz is offline   Reply With Quote
Thanked By: jingles
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0