Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from sense_hat import SenseHat
- import time
- sense = SenseHat()
- class Instructions:
- def __init__(self, instructions):
- self.instructions = sense.show_message("Take turns between two players, first player to score 30, wins!")
- def myfunc(self):
- sense.show_message(scroll_speed=0.10)
- time.sleep(10)
- d1 = Instructions(sense)
- d1.myfunc()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement