Exemple #1
0
 // versus local Player
 private void vsLocalPlayer_Click(object sender, EventArgs e)
 {
     // drawTiles()
     // establish connection (host)
     // etc
     // LOCAL VS PLAYER GAME
     data.Gametype = "vsPlayer";
     Game.Game game = new Game.Game(this);
 }
Exemple #2
0
 // versus multiplayer (host)
 private void hostMultiplayer_Click(object sender, EventArgs e)
 {
     data.Gametype = "host";
     Game.Game game = new Game.Game(this);
 }