larrydrifke larrydrifke 03-12-2020 Computers and Technology contestada please help add header file /** * TODO add header file */ public static boolean comp(int[][] b, int z, Random rand) { int x = findWinningMove(b, z); if(x != -1) { dropToken(x, b, z); return true; } x = findWinningMove(b, (z + 1) % 2); if(x != -1) { dropToken(x, b, z); return false; } do { x = rand.nextInt(BOARD_WIDTH); } while(b[BOARD_HEIGHT - 1][x] != -1); dropToken(x, b, z); return false; }