Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from game import Game
- from dino import Dino
- import time
- def time_ms():
- return time.time_ns() // 1000000
- def main():
- game = Game()
- player = Dino(50, game.win_height - 250, 64, 64)
- game.add_player(player)
- while game.window_is_open:
- game.tick(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement