25 lines
412 B
Python
Executable File
25 lines
412 B
Python
Executable File
#!/usr/bin/env python
|
|
import geom
|
|
import pygame
|
|
import sys
|
|
|
|
def main():
|
|
pygame.init()
|
|
geom.init()
|
|
|
|
clock = pygame.time.Clock()
|
|
elapsed = 0
|
|
while geom.loop():
|
|
clock.tick(60)
|
|
#elapsed += clock.get_time()
|
|
#if elapsed >= 1000:
|
|
# print(f"FPS: {clock.get_fps()}")
|
|
# elapsed = 0
|
|
|
|
pygame.quit()
|
|
sys.exit()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|