Advertisement
cc2k

psuedo code 2

Jul 29th, 2015
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. List<List<pairring>> brackets;
  2.  
  3.  
  4. if((playerlist.lenght()/2)%0!=0){
  5. playerlist.add(new player("bye"));
  6. }
  7.  
  8. int i =0
  9. int j = playerlist.lenght()-1;
  10.  
  11. for (i;i<= (playerlist,lenght()/2);i++){
  12. if(i !=j ){
  13. brackets.add(new pairring(playerlist[i], playerlist[j])
  14. j = j--;
  15. }
  16. }
  17.  
  18.  
  19. nextround()
  20. {
  21. List<List<pairring>> next round;
  22.  
  23. //iets met player.getopponentlist.contains(oppomnent.name) en dan score checken
  24.  
  25.  
  26. {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement