package core;

import java.util.Vector;


public class Game {
    public static final int CARDS_IN_HAND = 4;
	private boolean running = false;
	private Player currentPlayer = null;
	private Vector<Player> players;
	private int playerNumber = 0;


	public Game(int playerNumber) {
		this.players = new Vector<Player>();
    	this.playerNumber = playerNumber;

    	for (int i = 0; i < playerNumber; i++) {
    		players.add(new Player());
    	}

    	this.currentPlayer = this.players.get(0);
    }


    public void nextTurn(Card card, ActionType action, Player player) {
        this.currentPlayer.playCard();
    }

	public Player getPlayer(int playerId) {
		return players.get(playerId);
	}

    public boolean isRunning() {
        return this.running;
    }


	public Player getCurrentPlayer() {
		return this.currentPlayer;
	}


	public int getPlayerNumber() {
		return this.playerNumber;
	}
}

@@ -239,18 +239,20 @@
 r = 0;%0A%0A
-%0A%09
+    
 public G
@@ -275,17 +275,20 @@
 mber) %7B%0A
-%09
+    
 %09this.pl
@@ -399,24 +399,92 @@
 ber; i++) %7B%0A
+    %09%09Player newPlayer = new Player();%0A    %09%09newPlayer.drawCard(4);%0A
     %09%09player
@@ -492,25 +492,22 @@
 .add(new
- 
 Player
-()
 );%0A    %09
@@ -563,16 +563,78 @@
 %0A    %7D%0A%0A
+    public void start() %7B%0A    %09this.running = true;%0A    %7D%0A    
 %0A    pub
@@ -734,16 +734,36 @@
 layCard(
+card, action, player
 );%0A    %7D
@@ -764,17 +764,20 @@
 %0A    %7D%0A%0A
-%09
+    
 public P
@@ -804,25 +804,28 @@
 playerId) %7B%0A
-%09
+    
 %09return play
@@ -843,17 +843,20 @@
 yerId);%0A
-%09
+    
 %7D%0A%0A    p
@@ -916,25 +916,28 @@
 ng;%0A    %7D%0A%0A%0A
-%09
+    
 public Playe
@@ -955,25 +955,28 @@
 tPlayer() %7B%0A
-%09
+    
 %09return this
@@ -995,14 +995,20 @@
 er;%0A
-%09%7D%0A%0A%0A%09
+    %7D%0A%0A%0A    
 publ
@@ -1034,17 +1034,20 @@
 ber() %7B%0A
-%09
+    
 %09return 
@@ -1065,13 +1065,16 @@
 Number;%0A
-%09
+    
 %7D%0A%7D%0A

Add player init; Add Game.getPlayer() and Game.start(); Fix indent issues