TimDurward on td-ac
working hard :hammer: (compare)
Andychochocho on td-ac
append dealer hand and add thei… correct math for dealer score add functionality to make hit a… (compare)
10igeorge on effedup
append dealer hand and add thei… correct math for dealer score (compare)
10igeorge on td-ac
add minimal computer score func… (compare)
10igeorge on td-ac
fix html and css errors (compare)
10igeorge on td-ac
remove tacky gold header clean up html and remove extra … clean up css and reposition of … and 5 more (compare)
KevinExplosion on ig-km-monday
Make CSS and HTML changes to st… (compare)
Andychochocho on td-ac
fix functionality of determinin… (compare)
10igeorge on ig-km-monday
change bg color (compare)
10igeorge on ig-km-monday
remove input border (compare)
10igeorge on ig-km-monday
clean up css and reposition of … (compare)
10igeorge on ig-km-monday
clean up html and remove extra … (compare)
10igeorge on ig-km-monday
remove tacky gold header (compare)
TimDurward on td-ac
delete testJS file (compare)
TimDurward on td-ac
add a tacky gold header :) Merge branch 'ig-km-monday' of … fix merge conflicts with ig-km-… (compare)
TimDurward on td-ac
add totalHand functionality (compare)
10igeorge on ig-km-monday
add a tacky gold header :) (compare)
TimDurward on td-ac
Remove player2 box and style h1… do stuff fix merge conflicts (compare)
KevinExplosion on ig-km-monday
Remove player2 box and style h1… (compare)
TimDurward on td-ac
Merge pull request #6 from TimD… Make minor interface changes to… Add framework for user logic. and 11 more (compare)
using System;
class Program
{
static void Main()
{
// List<int> listNumbers = new List<int> {1,2,3,4,5,6,7,8,9};
// var randomList;
System.List<string> randomList = new System.List<string> {"asd", "asd", "asd"};
for (int i = 0; randomList.Count; i++) {
Console.WriteLine(randomList[i]);
}
}
}
using System;
class Program
{
static void Main()
{
// List<int> listNumbers = new List<int> {1,2,3,4,5,6,7,8,9};
// var randomList;
List<string> randomList = new List<string> {"asd", "asd", "asd"};
for (int i = 0; randomList.Count; i++) {
Console.WriteLine(randomList[i]);
}
}
}
var playerAge = $("#player1age").val();
var playerOne = $("#player1name").val();
if (playerAge.length === 0 || playerOne.length === 0){
alert("Please enter all of your player information");
}
else if (playerAge < 21){
alert("Sorry, you can't play");
$("#start").attr("disabled", true);
} else {
$(".introduction").hide();
$(".game").show();
var newPlayer = new Player(playerOne, 0, 500);
var dealer = new Player(dealer, 0, 5000);
var ace = aceGrab();
$("#playerNameSpan").text(newPlayer.name);
$("#remainingChipsSpan").text(newPlayer.chips);
$("#dealerHand").text(dealerTotal + suitGenerator());
$("#curHand").text(handOne + suitGenerator() + " " + handTwo + suitGenerator());
$("#totalHand").text(totalHand);
if (totalHand === 21){
alert("You win!");
}
}
});