Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. void addAtColumn( int[][]grid,Node node) {
  2. int[][]tempGame=grid;
  3. Node pointer=node;
  4. for (int i = 0; i < model.getXLength(); i++) {
  5. t = t + 1;
  6. Node tmp = new Node();
  7. tmp.coordinate = getCoordinate(tempGame, i);
  8. tmp.currentGame = placeDisc(tmp.coordinate, tempGame);
  9. pointer.moves[i] = tmp;
  10. search=search-1;
  11. System.out.println(t);
  12. System.out.println(search+"search");
  13. if(search>0) {
  14. System.out.println("HI");
  15. addAtColumn(tmp.currentGame, tmp);
  16. System.out.println("HEY");
  17. }}
  18. System.out.println(t);
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement