Native iBlackjack for iPhone

Discussion in 'Jailbreaks and iOS Hacks' started by McCarron, Aug 30, 2007.

  1. McCarron macrumors regular

    Joined:
    Feb 17, 2006
    #1
    iBlackjack is now known as Blackjack 21 and is being sold on the iTunes AppStore for $4.99 for the iPhone and iPod Touch.

    The definitive version of the world's most popular casino card game. Blackjack 21 for iPhone offers seamless gameplay as it responds to the same gestures used in a live game. You can further customize the game by directly downloading awesome card and table art for free.


    Blackjack 21 brings the words most popular cardgame to your iPhone/iPod with compelling realism. Incorporating actual game play gestures, true-to-life animation and high resolution graphics Blackjack 21 plays like the real thing.

    Tap the chips to quickly place a bet, Swipe down to hit, swipe up to split your hand and as the cards glide onto the table you swipe across to stand. Gameplay is super fluid and the perfect way to fill in that extra five minutes.

    [​IMG]

    Here is a quick video of Blackjack 21 we put together for those of you wanting to see the changes from iBlackjack.

    http://www.youtube.com/watch?v=tsli5VBRFtM

    Last Updated 7/17/08
     
  2. tobefirst macrumors 68040

    tobefirst

    Joined:
    Jan 24, 2005
    Location:
    St. Louis, MO
    #2
    I LOVE the randomness of the angle of the cards. Very nice touch. I'll be looking for this one, especially after you add a betting system.

    My favorite blackjack game for the Mac is Blackjack International (which can be found here) because of all the options for tweaking the game. Perhaps you can find some inspiration from the depth of their game.
     
  3. McCarron thread starter macrumors regular

    Joined:
    Feb 17, 2006
    #3
    Thanks, the randomness it was something I wanted to make it seem more natural with the animation. It is my first ObjC/Cocoa app as well as first experience with CoreAnimation so it was hard to get everything just right at first. I have to make a video of the animation to post up as well so people can see the animations first hand since the screen shots don't do it justice.

    I plan on adding a lot of options, already have some framework in place for changing the # of decks the game plays with along with the # of times the decks are shuffled. I'll take a look at that application and see what I can't add to the game. I eventually want to turn this engine into something to easily extend into a bigger project.

    I want to do a betting system where you have to drag chips to the play area to bet. I'll want to have a chip rack that will slide onto screen and allow you to pull chips off of it and drop it in the circle with your cards. Trying to take advantage of the touch screen wherever possible.
     
  4. badtzmaru macrumors 6502

    Joined:
    Jul 1, 2007
    #4
    what is that symbol next to the battery icon??? i have seen it before, but not on my iphone.
     
  5. tobefirst macrumors 68040

    tobefirst

    Joined:
    Jan 24, 2005
    Location:
    St. Louis, MO
    #5
    Bluetooth.
     
  6. McCarron thread starter macrumors regular

    Joined:
    Feb 17, 2006
    #6
    Bluetooth. It's grayed out because not paired at the moment.
     
  7. badtzmaru macrumors 6502

    Joined:
    Jul 1, 2007
    #7
    cool thanks for the replies. i dont have any bluetooth things so i didnt know.
     
  8. woodbutcher macrumors regular

    woodbutcher

    Joined:
    Jul 1, 2007
  9. hotsauce macrumors 6502a

    Joined:
    Sep 7, 2005
    #9
    Can you choose how many decks per shoe? This would be important for those that want to practice card counting. I'd pay about $20 bucks for a full optioned blackjack game for the iphone.
     
  10. McCarron thread starter macrumors regular

    Joined:
    Feb 17, 2006
    #10
    That will be in there. I have that code in place already, just have to add the preference so you can easily change it. I'll also allow you to be able to pick how many times you want to shuffle the decks because people like to change that setting as well.
     
  11. McCarron thread starter macrumors regular

    Joined:
    Feb 17, 2006
    #11
    Those of you wanting to test this out, you can now easily via Installer.app by adding my private source to the program.

    Goto http://www.iphonefanclub.com/native/ on your iPhone, it'll ask to add my private repository to your Installer.app. Then you can install my test builds of iBlackjack as I release them.

    I have made a few changes since earlier in the week, but I also introduced a bug I'm trying to squash, so no new release just yet. More to come this weekend!

    Update: Here is a written up document on how to install via Installer.app for right now. http://code.google.com/p/iphoneblackjack/wiki/Installation
     
  12. jasonnorm macrumors regular

    jasonnorm

    Joined:
    Aug 10, 2007
    Location:
    Milford, MA
    #12
    Great job on this!! Im impressed.

    Any chance a No-limit Texas holdem game could be on the way? The web 2.0 based one (scenario poker) is solid, but it's web 2.0 vs. native and it's limit poker :( What fun is texas holdem without going all-in!?! lol ;)

    Again, kudos!! :cool:
     
  13. McCarron thread starter macrumors regular

    Joined:
    Feb 17, 2006
    #13
    Sure I'd love to do holdem! My ideal goal would be to make a whole casino suite. I'm building it to be a bit flexible so it wouldn't be hard to switch it up. I may, depending on program size, make it a large all in one game too. With chip/bank moving between the various games in the program.

    I guess also since I'm open sourcing the code anyone could extend it as well so the work is divided. I learned from other's code so I want others to be able to learn from mine as well.

    I want to have an online high-scores, but that may be a bit easier to hack if it's open source. I have to think about that.
     
  14. jasonnorm macrumors regular

    jasonnorm

    Joined:
    Aug 10, 2007
    Location:
    Milford, MA
    #14
    Sounds good.

    Any idea when the next update to show the dealer's hold card as well as a betting system will be available? Great concept and execution so far, but without those it gets a little boring pretty quick.

    Keep up the good work though! If I knew how to code in C++ I would help. Alas, all I know is Perl :(

    Just as an FYI, I would be willing to pay for a full fledge casino sweet w/ black jack, poker, roulette, craps etc. I am sure others would as well. ($10 per?). Maybe that can help to movitate :) lol
     
  15. McCarron thread starter macrumors regular

    Joined:
    Feb 17, 2006
    #15
    Even worse, this is ObjectiveC but not too different just something new to learn. It's all new to me, but I've been porting my logic from PHP AJAX version of the game I had written already.

    The showing of the dealer card is actually working in my development build, but I got some new error in the game I'm trying to pin down. It randomly(?) causes the game to crash. Or else I'd release it already. I just haven't had time since Monday/Tuesday to really bust into debugging it.

    The betting system isn't hard if I make it simple at first, but I may make it "cooler" after the weekend. My goal is to make it so you can drag a chip from a rack of chips to the playing area.

    Maybe I'll put up a donation button on my page, but I don't expect to sell this.
     
  16. j0ebeer macrumors member

    Joined:
    Mar 5, 2007
    #16
    When I go to this page via Safari I get an error box saying "Safari can't download this file." Has anyone else come across this?

    Joe
     
  17. jasonnorm macrumors regular

    jasonnorm

    Joined:
    Aug 10, 2007
    Location:
    Milford, MA
    #17
    I would be more then happy to donate. Once the betting system is in place I think this will be a pretty solid foundation. The pop-up box after each hand has to go too, messes up the flow :)

    So, put up the donation on your page (pay pal would be easy :) ) get the dealers hold card shown, add betting and get rid of the pop up :) Now you have something to do this weekend! Just kidding :)

    Seriously though, nice job. The animations rock!!!
     
  18. spydr macrumors 6502

    spydr

    Joined:
    Jul 25, 2005
    Location:
    MD
    #18
    Looks like it would be fun enough to justify hacking my iPhone now!

    Good job already!
     
  19. McCarron thread starter macrumors regular

    Joined:
    Feb 17, 2006
    #19
    Yes a coworker here had that. If you have Installer.app installed and updated, then I went to Safari and had to reset it. Hold down the Home button for a few seconds, it should close down. Then reopen it and hopefully it should work.

    Let me know if it doesn't.
     
  20. The General macrumors 601

    Joined:
    Jul 7, 2006
  21. chiefillini macrumors regular

    Joined:
    Oct 28, 2006
    Location:
    Chicago, IL.
    #21
    nice app. Looking forward to the placing of bets and keeping track of how much money I would have lost if it was real. Any plans for other casino apps
     
  22. MotionxxUSxx macrumors 6502

    Joined:
    Jul 1, 2007
    #22
    nice app, but there is definitely a timing issue on displaying whether you won or not. The message appears before the dealer actually finishes getting his cards.
     
  23. McCarron thread starter macrumors regular

    Joined:
    Feb 17, 2006
    #23
    Yeah I'm working on that. The way the animations work is they are executed and then the code continues working. I need to find a way to pause logic execution while the animations are still going on.
     
  24. FloridaBear macrumors newbie

    Joined:
    Sep 5, 2007
    #24
    A couple things

    I have noticed that the dealer will not hit on 3 cards, no matter what the total. I've seen the dealer stand on 7!

    Also, dealer WILL hit 17, if the player's total is >17 (I think). Example: Player Q,8...dealer 7,10...hits, gets a 10.

    Any way you can remember the player's balance between runs?

    Was thinking about the interface...this might be interesting:
    Hit: Single tap (kind of like at the casino)
    Double Down: Double tap
    Stand: Swipe
    Split: Two fingers "separating" the cards

    Other functions might be implemented with a pop-up menu or something.

    Fun game though, please keep up the good work!
     
  25. yayaba macrumors 6502

    Joined:
    Apr 24, 2007
    Location:
    San Francisco Bay Area
    #25
    Very very impressive. My girlfriend loves Blackjack and so plays your game for 30 minutes+ at a time.

    I've had the application crash on me a few times though and take me back to the Springboard which I guess is better than other apps that crash the entire phone.

    I've noticed weird things too with the dealer not hitting until 17 and standing < 17. ALso, sometimes the dealer shows 3 cards and doesn't bust but the game says he does. But all in all, very impressive :).
     

Share This Page