Package squaresgame

Examples of squaresgame.ComputerPlayer


    ArrayList<Player> players = new ArrayList<Player>();
    for(int i =0; i < numHumanPlayers; i++){
      players.add(new HumanPlayer(i, String.valueOf(i+1)));
    }
    for(int i=0;i < numAIPlayers; i++){
      players.add(new ComputerPlayer(i+numHumanPlayers, String.valueOf(i+numHumanPlayers+1)));
    }
    return players;
  }
View Full Code Here

TOP

Related Classes of squaresgame.ComputerPlayer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.