Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. mport java.io.FileNotFoundException;
  2. import java.util.Arrays;
  3.  
  4. public class KillDoctorLucky {
  5.  
  6. public static void main(String[] args) {
  7.  
  8. card[] Card = new card[98];
  9.  
  10. try {
  11. Card = loadCards.compileDeck();
  12. } catch (FileNotFoundException e) {
  13. e.printStackTrace();
  14. }
  15.  
  16. room[] Room = new room[32];
  17.  
  18. try {
  19. Room = loadRooms.compileMansion();
  20. } catch (FileNotFoundException e) {
  21. e.printStackTrace();
  22. }
  23.  
  24.  
  25.  
  26. //Room[11].print();
  27. //Card[96].print();
  28. //Card[97].print();
  29. //player Player = new player();
  30. //Card = Player.drawSevenCards(Card);
  31. //Card = Player.drawCard(Card);
  32.  
  33. //murder check test
  34. player player[] = new player[9];
  35.  
  36. player[0]= new player();
  37. player[1]= new player();
  38. player[2]= new player();
  39. player[3]= new player();
  40. player[4]= new player();
  41. player[5]= new player();
  42. player[6]= new player();
  43. player[7]= new player();
  44. player[8]= new player();
  45.  
  46. player[0].setLocation(0);
  47. player[1].setLocation(6);
  48. player[2].setLocation(0);
  49. player[3].setLocation(14);
  50. player[4].setLocation(14);
  51. player[5].setLocation(14);
  52. player[6].setLocation(14);
  53. player[7].setLocation(14);
  54. player[8].setLocation(14);
  55.  
  56. player[0].setAlive();
  57. player[1].setAlive();
  58. player[2].setAlive();
  59. player[3].setAlive();
  60. player[4].setAlive();
  61. player[5].setAlive();
  62. player[6].setAlive();
  63. player[7].setAlive();
  64. player[8].setAlive();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement