Adblock breaks this site

[Source] Simple BlackJack Game.

Discussion in 'Programming General' started by WoW Sucks, May 24, 2008.

  1. WoW Sucks

    WoW Sucks Global Moderator
    Banned

    Joined:
    Jan 21, 2007
    Posts:
    3,708
    Referrals:
    3
    Sythe Gold:
    0
    [Source] Simple BlackJack Game.

    I made this game out of bordom, yesterday.

    Please post comments/how to make it better/bugs.

    I know it won't be up to the more experienced programmer's standard, but i'm learning :p

    Anyway here it is:
     

    Attached Files:

  2. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    [Source] Simple BlackJack Game.

    Not bad, i found a bug though.
    When you click "Hit" the second time it deals you 2 more cards instead of 1.
    Also when the Dealer and you have the same number it says you lose, instead of a draw.
     
  3. WoW Sucks

    WoW Sucks Global Moderator
    Banned

    Joined:
    Jan 21, 2007
    Posts:
    3,708
    Referrals:
    3
    Sythe Gold:
    0
    [Source] Simple BlackJack Game.

    Fixed the bug, thanks :)
     
  4. Nullware

    Nullware Guru

    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0
    [Source] Simple BlackJack Game.

    Lrn2blackjack. Dealer wins in the case of a draw.

    - Bugs -
    • The text on the cheating button gets split to two lines a lot of the time thus making it hard to see.
    • As far as I can tell it's impossible to get a King (13).
    • When you have 4 cards and press deal it redeals your 4th and 5th cards every time after that.
    • I seem to win a lot of the time when I go over 21 and the computer does not.

    I'll look into it more tomorrow night maybe, I'm pretty sleepy.
     
  5. jdsfighter

    jdsfighter Forum Addict
    Visual Basic Programmers

    Joined:
    Jan 21, 2007
    Posts:
    603
    Referrals:
    0
    Sythe Gold:
    0
    [Source] Simple BlackJack Game.

    In blackjack all face cards are worth 10 ;)

    Otherwise when you got an Ace and a King you would get 24 not 21.
     
  6. Nullware

    Nullware Guru

    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0
    [Source] Simple BlackJack Game.

    Hahaha, it was 1:30am and I'd just got back from work so I was in pretty bad shape. Yes I'm retarded, etc.

    Since that's the case there should be no 12 cards and also the probability of getting a 10 should be 4 times higher than any other card.
     
  7. WoW Sucks

    WoW Sucks Global Moderator
    Banned

    Joined:
    Jan 21, 2007
    Posts:
    3,708
    Referrals:
    3
    Sythe Gold:
    0
    [Source] Simple BlackJack Game.

    Ugh, yeh, i'm not the gambling type, so i don't really know all the rules.

    Also it says 'Simple' ;)

    Thanks guys, it was just something i made when i was bored. Probably won't bother fixing it or anything :D
     
  8. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    [Source] Simple BlackJack Game.

    lazy noob :p
     
  9. bolty

    bolty Guest

    Referrals:
    0
    [Source] Simple BlackJack Game.

    Nice program you got there, I wouldn't call it simple.

    :)
     
< VB6 Crash During Runescape Load | How to make a simple updater >


 
 
Adblock breaks this site