-
Notifications
You must be signed in to change notification settings - Fork 0
/
Player.cs
48 lines (39 loc) · 1.43 KB
/
Player.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace mtgSimulat
{
public class Player
{
public float aggressiveness;
public float deffensive;
public float conservative;
public float desperation;
public int rollRes;
public int handSize;
public int health;
public int infect;
public int teamId;
public int playerId;
// agressive players are constantly on the offense. Once an aggressive player gets a card, they play it.
// deffensive players constantly respond to what an opponent is doind (couter decks for example).
// conservative players play the least amount of cards until they get their win condition.
public List<Card> battleField = new List<Card>();
public List<Card> graveYard = new List<Card>();
public Deck deck;
public Hand hand;
public bool hasPlayedManaThisTurn = false;
public Player()
{
deck = new Deck();
hand = new Hand();
}
public string ToString()
{
return "agr: " + aggressiveness + "," + " def: " + deffensive + "," + " conserv: " + conservative + "," + " desperate: " + desperation + "," + " handSz: " + handSize + "," +
" health: " + health + "," + " infect: " + infect + "," + " team: " + teamId;
}
}
}