Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def check_4_bomb(self):
- #sprawdz = input("Co miałbym zrobić jesli w coś wdepnąłem?")
- if (self.tab[self.RX][self.RY] == "Mina"):
- self.tab_start[self.RX][self.RY] = "!"
- self.display()
- print('Chyba w cos wdepnalem')
- self.say2()
- #time.sleep(5)
- #print('KBOOOOOOM!')
- #exit(0)
- def wybuch(self):
- time.sleep(5)
- print('KBOOOOOOM!')
- exit(0)
- def waitkey(self): #sprawdzenie inputa
- sprawdz=input("Wdepnalem w cos, co mam zrobic\n")
- if self.sprawdz in ["rozbroj", "unicestw"]
- self.rozbroj()
- def rozbrajanie(self):
- if (self.tab[self.RX][self.RY]== "Mina"):
- self.tab_start[self.RX][self.RY] = "X"
- print("ROZBROJONO BOMBE")
- ilosc_min -= 1
- continue
- #O to rozbrojona mina
- #TODO funkcja wyboru typu rozbroic czy isc dalej
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement