These are chat archives for TimDurward/Black-Jack

5th
Feb 2016
Kevin Mattison
@KevinExplosion
Feb 05 2016 00:39
I'm all the way in the far corner if you guys want to see the game on a giant screen
it's got some buggy display stuff going on...I haven't worked on it or seen it on anything so far except partially displayed on a laptop screen. I can work on some of that in the morning hopefully as long as I know which one is the final
Tim Durward
@TimDurward
Feb 05 2016 03:16
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]);
    }

  }
}
Kevin Mattison
@KevinExplosion
Feb 05 2016 16:33
Hey, Andy! Come here a second!
Izzy, where are you guys at?
Izzy
@phathousecat
Feb 05 2016 16:37
sry
We are at couches
be there in a sec
Kevin Mattison
@KevinExplosion
Feb 05 2016 16:49
Does anyone remember how to open the color picker in inspect mode?
Izzy
@phathousecat
Feb 05 2016 17:02
yeah find the color in the css section and click the little square
and it opens up the gradient picker
$("#start").click(function(){
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!");
}
}
});
    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!");
      } 
    }
  });
Tim Durward
@TimDurward
Feb 05 2016 21:33
'.source.cs':
  'Using System':
    'prefix': 'csharp'
    'body': """
    using System;

    class Program
      {
        static void Main()
        {

        }
      }
    """