-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
32 lines (32 loc) · 918 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# #!/usr/bin/env python
# # -*- coding: utf-8 -*-
# import pygame
# from game import Game
#
# SCREEN_WIDTH = 640
# SCREEN_HEIGHT = 480
#
# def main():
# pygame.init()
# screen = pygame.display.set_mode((SCREEN_WIDTH,SCREEN_HEIGHT))
# pygame.display.set_caption("Matematyka")
# #Loop until the user clicks the close button.
# done = False
# # Used to manage how fast the screen updates
# clock = pygame.time.Clock()
# game = Game()
# # -------- Main Program Loop -----------
# while not done:
# # --- Process events (keystrokes, mouse clicks, etc)
# done = game.process_events()
# # --- Game logic should go here
# game.run_logic()
# # --- Draw the current frame
# game.display_frame(screen)
# # --- Limit to 30 frames per second
# clock.tick(30)
#
# pygame.quit()
#
# #if __name__ == '__main__':
# # main()