Search in sources :

Example 1 with TestingRPSServerImpl

use of dogecade.networking.TestingRPSServerImpl in project dogecade by ebanisadr.

the class RPSTester method main.

public static void main(String... args) {
    List<Player> p = new ArrayList<>();
    p.add(new Player(Dogecade.server.getUsername(), BigDecimal.valueOf(100)));
    p.add(new Player("name2", BigDecimal.valueOf(33)));
    RockPaperScissors rps = new RockPaperScissors(p, new TestingRPSServerImpl(), 3);
    rps.startGame();
}
Also used : Player(dogecade.games.Player) RockPaperScissors(dogecade.games.rps.RockPaperScissors) ArrayList(java.util.ArrayList) TestingRPSServerImpl(dogecade.networking.TestingRPSServerImpl)

Aggregations

Player (dogecade.games.Player)1 RockPaperScissors (dogecade.games.rps.RockPaperScissors)1 TestingRPSServerImpl (dogecade.networking.TestingRPSServerImpl)1 ArrayList (java.util.ArrayList)1