<h3>Rules</h3> Welcome to Advanced Black Jack. The goal of this game is to get to $win. Closests player to $win wins! Gamplay: The dealer (in this case the computer) will deal you 2 cards. Then you must roll a dice. To get to $win you (the player) must multiply the number rolled on the dice with the two cards they have recieved. The player then has the choice whether to take another card and risk going over $win. Or to just stay. The player with the closest number to $win wins. Deck of card value go as follows: 2-10, Jack (11), Queen (12), King (13), Ace (1). <h3>[[Back |Start]]</h3> (if: $playerDice is 0)[ (set: $playerDice to (random: 1, 6))[You rolled: $playerDice]] (set: $cDice to (random: 1, 6)) [[Look at Cards]] <!-- Player Variables --> (set: $playerDice to 0) (set: $playerCard1 to 0) (set: $playerTotal to 0) (set: $playerNextCard to 0) (set: $win to 78) (set: $playerWinBoolean to true) <!-- Computer Variables --> (set: $cDice to 0) (set: $cCard1 to 0) (set: $cTotal to 0) (set: $cNextCard to 0) (goto: "Start") (if: $playerCard1 is 0) (set: $playerCard1 to (random: 1, 13)) (set: $playerTotal to ($playerDice * $playerCard1)) (set: $cCard1 to (random: 1, 13)) (set: $cTotal to ($cDice * $cCard1)) (goto: "Hand") Your Hand is: Dice: $playerDice Players card is: $playerCard1 Player total: $playerTotal [[One More Card]] [[Hold]] (set: $playerNextCard to (random: 1, 13)) (set: $playerTotal to (($playerDice * $playerNextCard) + $playerTotal))) (set: $cNextCard to (random: 1, 13)) (set: $cTotal to (($cDice * $cNextCard) + $cTotal))) (if: $playerTotal > $win)[(set: $playerWinBoolean to false) (goto: "Hold")] (elseif: $cTotal > $win)[(goto: "Hold")] (elseif: $playerTotal is $win)[(goto: "Hold")] (else:)(goto: "New Hand") (if: $cTotal > $playerTotal and $cTotal < $win)[ (set: $playerWinBoolean to false)] (elseif: $playerTotal > $win and $cTotal > $win)[ (set: $playerWinBoolean to false)] (goto: "End") Your Hand is: Dice: $playerDice New Card is: $playerNextCard Player New Total is: $playerTotal [[One More Card]] [[Hold]] (if: $playerWinBoolean is true)[Congrats you win!] (else:)[Sorry you Lost!] Your Total was: $playerTotal The computers total was: $cTotal Would you like to play again? [[Restart]] <h3>ABOUT</h3> This game was created for a class assignment where we were handed a deck of cards and 4 dice. In a very short amount of time we had to come up with a game, then digitize it. The original concept for the game was done in groups however, recreating the game digitally was individual. Also, if it wasn't obvious by the name this game is our representation of a more challenging black jack. (Sadly, we couldn't keep 21 as the winning number) <h4>Created Using:</h4>(link:"Twine")[(gotoUrl:"https://twinery.org/")] (link:"Harlowe")[(gotoUrl:"https://twine2.neocities.org/")] <h4>Created by Zodsmar</h4> <h3>[[Back |Start]]</h3> =><= <h1>Advanced Black Jack</h1> <h3> [[Start|RollDice]] [[Rules]] [[About]] </h3>