Moar trolling. Adapted from @Astrobytes.
[troll.git] / src / test / java / PlayerTimeout.java
1 import java.util.Random;
2 import java.util.Scanner;
3
4 public class PlayerTimeout {
5     public static void main(String[] args) {
6         Scanner in = new Scanner(System.in);
7         Random random = new Random();
8
9         int roadLength = in.nextInt();
10         int initialStones = in.nextInt();
11
12         while (true) {
13             int trollDistance = in.nextInt();
14             int stones = in.nextInt();
15             int opponentStones = in.nextInt();
16         }
17     }
18 }