November 23, 2024, 11:03:06 PMLatest Member: MichaelAlede
BoutCheetah » Forum » Other » Off Topic » My Blackjack coding assignment

My Blackjack coding assignment

Started by Thornz, November 27, 2013, 12:38:29 AM

Previous topic - Next topic

Thornz

So I had to code a game of Blackjack, which is due in a few hours, but I had the neat idea to post it here to see if I missed anything, or if any part of it is broken.  PLEASE DON'T USE INTERNET EXPLORER (It doesn't work properly :P).  Dealer wins ties, btw

I added a ranking system just cause I could....

My code:  http://www.codeskulptor.org/#user26_CFYrTffXEQ_4.py

Grading rubric:

1 pt - The program displays the title "Blackjack" on the canvas.
1 pt - The program displays 3 buttons ("Deal", "Hit" and "Stand") in the control area.
2 pts - The program graphically displays the player's hand using card images. (1 pt if text is displayed in the console instead)
2 pts - The program graphically displays the dealer's hand using card images. Displaying both of the dealer's cards face up is allowable when evaluating this bullet. (1 pt if text displayed in the console instead)
1 pt - The dealer's hole card is hidden until the current round is over. After the round is over, it is displayed.
2 pts - Pressing the "Deal" button deals out two cards each to the player and dealer. (1 pt per player)
1 pt - Pressing the "Deal" button in the middle of the round causes the player to lose the current round.
1 pt - Pressing the "Hit" button deals another card to the player.
1 pt - Pressing the "Stand" button deals cards to the dealer as necessary.
1 pt - The program correctly recognizes the player busting.
1 pt - The program correctly recognizes the dealer busting.
1 pt - The program correctly computes hand values and declares a winner. Evaluate based on messages.
2 pts - The program accurately prompts the player for an action with messages similar to "Hit or stand?" and "New deal?". (1 pt per message)
1 pt - The program implements a scoring system that correctly reflects wins and losses. Please be generous in evaluating this item.

IGN: FM Thornz [Lv 270]
Quote from: cyc0828He destroy my guild
Not pants

Cooky

doesn't work on internet explorer?  :(

Thornz

Quote from: Cooky on November 27, 2013, 12:39:42 AM
doesn't work on internet explorer?  :(

Nope, for some reason this coding program doesn't like IE

For god's sake, just download Chrome, Cooky. lolol

IGN: FM Thornz [Lv 270]
Quote from: cyc0828He destroy my guild
Not pants

Purple




^**** im special xd

Cooky


Allie


hur9

Quote from: Cooky on November 27, 2013, 12:51:52 AM
Quote from: Thornz on November 27, 2013, 12:42:17 AM
For god's sake, just download Chrome, Cooky. lolol

no I am loyal to IE >:(
i was too but then i realized webpages that had problems on explorer didnt on chrome


Thornz

Quote from: hur90 on November 27, 2013, 01:21:21 AM
Quote from: Cooky on November 27, 2013, 12:51:52 AM
Quote from: Thornz on November 27, 2013, 12:42:17 AM
For god's sake, just download Chrome, Cooky. lolol

no I am loyal to IE >:(
i was too but then i realized webpages that had problems on explorer didnt on chrome

Yeah, quite a few web pages actually dislike IE. It's weird.

IGN: FM Thornz [Lv 270]
Quote from: cyc0828He destroy my guild
Not pants

Cooky

Quote from: Allie on November 27, 2013, 01:19:49 AM
Quote from: Cooky on November 27, 2013, 12:51:52 AM
Quote from: Thornz on November 27, 2013, 12:42:17 AM
For god's sake, just download Chrome, Cooky. lolol

no I am loyal to IE >:(

lolwut
are u being sarcastic.

not really

I mean sometimes some pages don't work and I have to use firefox but I am always using internet explorer

Iridion



Quote from: Madproxyes because Iri & Kp can change the rules!
thats how we roll maddie

-PeaceLover-


Iridion

Quote from: -PeaceLover- on November 27, 2013, 02:07:13 PM
god people who us ie have no lif
or never tried to create a decent multibrowser webpage xd


Quote from: Madproxyes because Iri & Kp can change the rules!
thats how we roll maddie

Cooky


Iridion



Quote from: Madproxyes because Iri & Kp can change the rules!
thats how we roll maddie

qolderman

IGN: Caustic



^thanks cooky <3
Quote from: Cooky on August 03, 2014, 12:05:07 AM
whats wrong with eating a sock

Copyright © ZylonGaming 2009 - 2024
-Terms of Use-