webOS Nation Forums >  Homebrew >  webOS Homebrew Apps > Solitaire
Solitaire
  Reply
 
Thread Tools Display Modes
Old 07/06/2009, 06:21 PM   #1 (permalink)
Member
 
Posts: 50
Solitaire HAS BEEN UPDATED
FINALLY

Solitaire | PreCentral.net | The #1 Palm Pre and Pixi Community

Solitaire v0.9.9

NEW FEATURES
more palm ui style
splash screen for selecting difficulty
bigger palm style buttons
hopefully better overall graphic and speed performance
works with 1.1 (not really new)
A updated winner screen
different card background for one and three card draw
border around white card for easier viewing


//I did contemplate releasing this version for a couple days...
it is not in perfect WebOS..the version will look perfect and work perfect but it is still a work in progress..but i figured at least people would be able to use it will look the same when im finshed and it submitted to the app catalog but the backend and coding stuff will look completely different...//


NEW FEATURES 0.9.6 (FIXED PROBLEMS)
Background back to green

NEW FEATURES 0.9.5...YOU CAN NOW WIN!
New Game button
Options Button (one draw/three draw)
Rules page
About page


NEW FEATURES 0.9 (fixed problems)

Single CLICK reveals
More space in between cards vertically
Three cards shown
Easier to place cards on top of each other

A simple JavaScript solitaire game formatted to run on the Palm Pre.

Standard Klondike rules apply.

How To Play:
Double Click to reveal cards
Click to Drag and Drop Cards.


Installation:
Use the SDK palm-install method instead.
Use version com.tj.solitaire_0.9.9_all.ipk

Future Features:
If I work on this further. I will add new game to top title menu and possible ways to change cards, card background, and game background. Also will try to figure out how to save in the middle of game even thought it was "exited"


thanks everyone! major thanks to Arognlie for fixing the script and debugging the code.
TJ

Like I said in other posts...
We had over 3000 downloads for version 0.9.6 (most downloaded on percentral...im pretty sure)
Hopefully 3000 satisfied people !
If you liked the game enough to help here is the link:

Donation Link https://www.paypal.com/cgi-bin/websc...ton_id=6746791

Last edited by t.tokarczyk01; 04/04/2011 at 04:38 PM. Reason: UPDATED APPLICATION!
t.tokarczyk01 is offline   Reply With Quote
Old 07/06/2009, 06:31 PM   #2 (permalink)
Member
 
Posts: 32
will it work in landscape mode? might be more screen real-estate
ucsbleo is offline   Reply With Quote
Old 07/06/2009, 06:32 PM   #3 (permalink)
Member
 
Posts: 50
not right now. I'm new to the SDK so I'm having trouble finding where to put the code in to rotate.

I'm working though!
t.tokarczyk01 is offline   Reply With Quote
Old 07/06/2009, 06:35 PM   #4 (permalink)
Member
 
Posts: 182
Quote:
Originally Posted by ucsbleo View Post
will it work in landscape mode? might be more screen real-estate
I agree 100%. It just seems more natural to have this game coded for landscape by default. Looks great, but I won't be able to install even though I still have 1.0.3 firmware and can install via email ipk links.

I guess I need to figure out how to do this whole "SDK" thing, but I am afraid I'll brick my Pre...
a dumb cat is offline   Reply With Quote
Old 07/06/2009, 06:36 PM   #5 (permalink)
Member
 
sharkims's Avatar
 
Posts: 224
Awesome thanks!
sharkims is offline   Reply With Quote
Old 07/06/2009, 06:37 PM   #6 (permalink)
Member
 
Posts: 50
haha ok ok. I'll work tonight to get landscape instead of playing WoW (yeah i know)

a dumb cat the sdk is very easy to get and as long as your not rooting you wont brick your pre.
t.tokarczyk01 is offline   Reply With Quote
Old 07/06/2009, 06:37 PM   #7 (permalink)
Member
 
Posts: 324
Quote:
Originally Posted by a dumb cat View Post
I agree 100%. It just seems more natural to have this game coded for landscape by default. Looks great, but I won't be able to install even though I still have 1.0.3 firmware and can install via email ipk links.

I guess I need to figure out how to do this whole "SDK" thing, but I am afraid I'll brick my Pre...
You dont need the SDK to install games just root your pre.

and you can install from there
atlanta is offline   Reply With Quote
Old 07/06/2009, 06:38 PM   #8 (permalink)
oil
Member
 
oil's Avatar
 
Posts: 863
Quote:
Originally Posted by t.tokarczyk01 View Post
I'm having trouble finding where to put the code in to rotate.
In the activate function of your scene assistant, put:
Code:
if (this.controller.stageController.setWindowOrientation) {
    this.controller.stageController.setWindowOrientation("free");
}

Last edited by oil; 07/06/2009 at 08:02 PM. Reason: changed stage to scene xD
oil is offline   Reply With Quote
Thanked by Milominderbinder, roar
Old 07/06/2009, 06:43 PM   #9 (permalink)
Member
 
Posts: 449
Quote:
Originally Posted by a dumb cat View Post
I agree 100%. It just seems more natural to have this game coded for landscape by default. Looks great, but I won't be able to install even though I still have 1.0.3 firmware and can install via email ipk links.

I guess I need to figure out how to do this whole "SDK" thing, but I am afraid I'll brick my Pre...
There is no need to be concerned in the slightest. If you were to enable root, and somehow misread some steps and screwed up your phone, you'd have to reflash it with the original OS to regain functionality. There's a potential (albeit small one) that you could temporarily lose the functionality of your phone by rooting it.

With the SDK, however, it's safer. All you do is install it, then you'll never see the GUI again. Open a terminal screen and type "palm-install [app.ipk]" and voila! You're done. Uninstall is the same as a Palm-sanctioned app (hold down the orange button, and tap the app).
buyrihn is offline   Reply With Quote
Old 07/06/2009, 06:43 PM   #10 (permalink)
Member
 
Posts: 50
haha oil yeah i asked about that on your post for XboxLive Friends(which is awesome by the way) this may sound stupid but i dont still dont know where it goes...:/

this is what my stage-assistant.js looks like:

Quote:
function StageAssistant() {

}
}

StageAssistant.prototype.setup = function() {
}
t.tokarczyk01 is offline   Reply With Quote
Old 07/06/2009, 06:44 PM   #11 (permalink)
Member
 
Posts: 449
@t.tokarczyk01: Any way you could get rid of the double click?
buyrihn is offline   Reply With Quote
Old 07/06/2009, 06:47 PM   #12 (permalink)
Member
 
Posts: 50
well here is why it is enabled (see what you think). when i had it on single click I found that sometime i would accidentally click "deal two new cards" when I actually wanted to just drag a top card. So, I mean if enough people complain I will change. Otherwise it will stay so that I can beat my own solitaire game haha
t.tokarczyk01 is offline   Reply With Quote
Old 07/06/2009, 06:55 PM   #13 (permalink)
Member
 
Posts: 324
Not sure how it would work out since your app is just using the index file i believe you will have to put it in a view file then add the coding and have the app push the scene viewfile.
atlanta is offline   Reply With Quote
Old 07/06/2009, 07:03 PM   #14 (permalink)
Member
 
sracercelica's Avatar
 
Posts: 343
Wat r the chances of a poker app?
sracercelica is offline   Reply With Quote
Old 07/06/2009, 07:08 PM   #15 (permalink)
Member
 
Posts: 50
hehe...Let me get this one complete to 1.0 first then we will see...
t.tokarczyk01 is offline   Reply With Quote
Old 07/06/2009, 07:17 PM   #16 (permalink)
Member
 
Bigchris's Avatar
 
Posts: 627
Great job on the app.. Looks really good on the pre.. Thanks
__________________
Remember, this is my opinion ! We all have a right to our own.....

Treo's 650-800..NOW,
Palm Pre
Bigchris is offline   Reply With Quote
Old 07/06/2009, 07:19 PM   #17 (permalink)
Member
 
Posts: 449
Quote:
Originally Posted by t.tokarczyk01 View Post
well here is why it is enabled (see what you think). when i had it on single click I found that sometime i would accidentally click "deal two new cards" when I actually wanted to just drag a top card. So, I mean if enough people complain I will change. Otherwise it will stay so that I can beat my own solitaire game haha
I'd prefer a single tap for everything, but I could certainly live with double tapping for showing new cards on the discard pile and single clicking for everything else...
buyrihn is offline   Reply With Quote
Old 07/06/2009, 07:22 PM   #18 (permalink)
Member
 
mdmogren's Avatar
 
Posts: 500
Quote:
Originally Posted by atlanta View Post
You dont need the SDK to install games just root your pre.

and you can install from there
Is there an easy way to install these without having to copy via usb (on a rooted pre?)
mdmogren is offline   Reply With Quote
Old 07/06/2009, 08:02 PM   #19 (permalink)
oil
Member
 
oil's Avatar
 
Posts: 863
Did I say stage assistant? I meant scene assistant... xD

Code:
FirstAsssistant.prototype.activate = function(event) {
    if (this.controller.stageController.setWindowOrientation) {
        this.controller.stageController.setWindowOrientation("free");
    }
}
oil is offline   Reply With Quote
Old 07/06/2009, 09:37 PM   #20 (permalink)
Member
 
cajunlibra's Avatar
 
Posts: 197
I think that 1 click would be easier to reveal cards on the phone. Personal opinion.

Also, it's difficult to know exactly how I need to place the card on top of another for it to accept the move. I have had to move cards twice in order for it to actually be moved.

Great app though. Keep up the good work.
cajunlibra is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0