Skip to content

Commit

Permalink
Make testfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sas12028 committed Apr 3, 2017
1 parent ba1067b commit c88d3a3
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/Test.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import java.util.Arrays;

public class Test{

public static void main(String[] args){
String[] b = {"-", "b", "-", "b", "-", "b", "-", "b",
"-", "-", "-", "-", "B", "-", "b", "-",
"-", "w", "-", "w", "-", "b", "-", "-",
"-", "-", "-", "-", "b", "-", "w", "-",
"-", "-", "-", "-", "-", "-", "-", "-",
"w", "-", "w", "-", "w", "-", "w", "-",
"-", "w", "-", "-", "-", "w", "-", "w",
"w", "-", "w", "-", "w", "-", "w", "-"};
String[] b2 = {"-", "-", "-", "b", "-", "b", "-", "b",
"b", "-", "w", "-", "b", "-", "b", "-",
"-", "b", "-", "B", "-", "b", "-", "b",
"-", "-", "w", "-", "w", "-", "-", "-",
"-", "-", "-", "-", "-", "-", "-", "-",
"w", "-", "w", "-", "w", "-", "w", "-",
"-", "w", "-", "-", "-", "w", "-", "w",
"w", "-", "w", "-", "w", "-", "w", "-"};

CheckersGameState3 s2 = new CheckersGameState3(1, b2);
s2.printState();
for(Move3 m: s2.actions()){
System.out.println(m);
}
}
}

0 comments on commit c88d3a3

Please sign in to comment.