Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void addAtColumn( int[][]grid,Node node) {
- int[][]tempGame=grid;
- Node pointer=node;
- for (int i = 0; i < model.getXLength(); i++) {
- t = t + 1;
- Node tmp = new Node();
- tmp.coordinate = getCoordinate(tempGame, i);
- tmp.currentGame = placeDisc(tmp.coordinate, tempGame);
- pointer.moves[i] = tmp;
- search=search-1;
- System.out.println(t);
- System.out.println(search+"search");
- if(search>0) {
- System.out.println("HI");
- addAtColumn(tmp.currentGame, tmp);
- System.out.println("HEY");
- }}
- System.out.println(t);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement