07/15/2009, 09:20 PM
|
|
|
Member
![]() ![]() Join Date: Jul 2009
Posts: 499
Likes: 16
Thanks: 44
Thanked 102 Times in 63 Posts
|
This application was ported from freely-available code available at www .javascriptsource.com (The JavaScript Source), and was originally written by Mike McGrath (mike_mcgrath-at-lineone.net), home.clara.net/mikem .
Free Blackjack icon provided by www .artpoker.net (ArtPoker). Ported to the Palm Pre and WebOS by vreihen, and released into the public domain just like the original base code that was used. Original author and porting individual not responsible for any damages caused by using this program. Please don't Play and Drive! I had posted a quick & dirty version of this into another section of this forum a few days ago, in response to an inquiry from someone about how long it would take to port freely-available JavaScript apps like this one. Since then, I Mojo-ized it for easier use on a handheld phone, and cleaned up the code so that it's more in line with how Palm apparently wants packages laid out. The only improvement that I have planned is to add an "about" screen to the app pull-down menu, crediting the original sources of the application code and icon file. It should be noted that Sprint won't sell me a Pre to test this on, so I'd appreciate it if someone could post here if it works properly on actual phone hardware. The package doesn't contain binaries or anything that's likely to brick a phone, and I don't anticipate any problems since it runs fine on virtual hardware. The original source wasn't the fanciest game out there, but it does play Blackjack. If someone else wants to add pictures of cards and display both players' hands, feel free to build on this head-start..... |
|
Thanked by
bmwm3, Chewbacca23, colona, JimmieGeddes, jon96321, kmehr, majikTib, Milominderbinder, nojok3, PapaDocta, Sharkims, tgo123
|
07/15/2009, 09:32 PM
|
#2 (permalink) |
|
Homebrew Developer
![]() Join Date: Mar 2005
Location: ↑ iPhone Black Launcher Theme
Posts: 4,598
Likes: 117
Thanks: 2,535
Thanked 3,150 Times in 908 Posts
|
Love it!
Thank you. We will test it. Oh course the first thing we will ask for is images of the cards... - Craig
__________________
- Milo → Getting Started → Ringtones → Videos/Movies → Patches/Themes → Music Player(Remix) → Battery Life → Backup/Syncing → Great Signal-Airave → iPhone Theme → Forum Guidelines Last edited by Milominderbinder; 07/15/2009 at 09:38 PM. |
|
|
07/15/2009, 09:52 PM
|
#4 (permalink) |
|
Homebrew Developer
![]() Join Date: Mar 2005
Location: ↑ iPhone Black Launcher Theme
Posts: 4,598
Likes: 117
Thanks: 2,535
Thanked 3,150 Times in 908 Posts
|
Yes and yes.
- Craig
__________________
- Milo → Getting Started → Ringtones → Videos/Movies → Patches/Themes → Music Player(Remix) → Battery Life → Backup/Syncing → Great Signal-Airave → iPhone Theme → Forum Guidelines |
|
|
07/16/2009, 10:36 AM
|
|
|
Member
![]() ![]() Join Date: Jul 2009
Posts: 499
Likes: 16
Thanks: 44
Thanked 102 Times in 63 Posts
|
I'm glad that someone noticed! The icon that I found is named 21.png. Early in the port, I needed to put a version number into appinfo.json. I initially put in 0.2, closed my editor window, and the "21" from the icon file's name on the screen grabbed my attention. At that point, I decided that every version number had to be a .21 of some sort.....
|
|
|
07/16/2009, 11:39 AM
|
|
|
|
Member
![]() ![]() Join Date: Jul 2009
Posts: 499
Likes: 16
Thanks: 44
Thanked 102 Times in 63 Posts
|
Quote:
As I posted in the announcement post at the top, this port started out as research for an answer to a question here: http--forums.precentral.net/web-os-development/192295-questions-about-future-apps-homebrew-paypal-donate-option.html Once I had it running quick & dirty, I went back to make it look like a proper Mojo application. My goal was simply to figure out Palm's proper way of doing things in their UI. After I got the Mojo buttons and stuff working, I thought that it came out good enough to share as a Homebrew app. My intention has never been to become a game programmer. I was just using this borrowed code to learn Mojo, in anticipation of developing an automotive-type application to make the Pre replace an app that I haven't been able to use since my ancient Palm M-105..... |
|
|
|
07/16/2009, 06:34 PM
|
#15 (permalink) |
|
Member
![]() Join Date: Jun 2009
Location: Miami, FL
Posts: 90
Likes: 2
Thanks: 32
Thanked 3 Times in 3 Posts
|
So are there card graphics for this game or is it just text??
Thx |
|
Thanked By:
Milominderbinder
|
07/16/2009, 08:35 PM
|
|
|
Member
![]() ![]() Join Date: Jul 2009
Posts: 499
Likes: 16
Thanks: 44
Thanked 102 Times in 63 Posts
|
JUST TEXT?!?!? Thousands of years ago, our ancestors scratched pictures of things (graphics) on the walls of caves. Then, written languages (text) came along, which is the basis of our modern civilization. Now, thanks to Xerox PARC, Apple, and Microsoft, computers are pushing us all backwards thousands of years into communicating via pictures again! There's nothing wrong with text...unless you live in a cave.
![]() Seriously though, it's just text. Someone was even kind enough to post a screen capture above. The original free JavaScript source at the heart of this application was not modified, and it did not come with any type of card graphics. If you would like to see these features, feel free to add them yourself. That's the heart and soul of open-source software. Is anyone around here old enough to remember the *classic* computer game called LEM? It was played on computers with not much more processing power than the real lunar lander, and told you how big of a crater you made when you slammed into the surface of the moon. Long story short, in honor of the 40th anniversary of Apollo 11 next week, I think that I'm going to see about getting it running in all it's text glory on the Pre.....
|
|
|
07/16/2009, 10:39 PM
|
#17 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Location: Miami, FL
Posts: 90
Likes: 2
Thanks: 32
Thanked 3 Times in 3 Posts
|
Quote:
So Yes, I would love some images of cards played instead of some "floppy disc 80s" text game. I was Just asking since the app is still new, I have no problem waiting. But if your just designing a Card game, I thought Maybe, Kinda, Possibly you might want to add the Cards. ![]() Either way Thanks for port to Pre. Last edited by synplex; 07/16/2009 at 10:45 PM. |
|
|
|
07/17/2009, 02:59 AM
|
#18 (permalink) |
|
Member
![]() Join Date: Mar 2008
Posts: 17
Likes: 0
Thanks: 2
Thanked 3 Times in 2 Posts
|
Not exactly what I expected...needs some graphics...
|
|
Thanked by
Milominderbinder, synplex
|
07/17/2009, 11:25 AM
|
#19 (permalink) |
|
Member
![]() Join Date: May 2009
Posts: 81
Likes: 0
Thanks: 11
Thanked 10 Times in 9 Posts
|
1 image = 1000 words... therefore pictuers are 1000x more powerful than words
|
|
Thanked by
Milominderbinder, synplex
|
07/17/2009, 03:18 PM
|
#20 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Location: Miami, FL
Posts: 90
Likes: 2
Thanks: 32
Thanked 3 Times in 3 Posts
|
Quote:
BAM! Not alone ![]() Again, Thanks for the app either way. Love to lose time with "card" games. |
|
|
|
![]() |
| webOS Nation Forums Blackjack [0.2.21] [NRR] |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|















Linear Mode








