PC-Pygame
- 1. Module setup
- 2. main file
- 3. game file
- 3.1. Simple Game loop
- 3.2. pygame.init()
- 3.3. pygame.display.set_mode
- 3.4. pg.display.set_caption()
- 3.5. pg.time.Clock()
- 3.6. clock.tick()
- 3.7. check_event
- 3.8. pg.event.get()
- 3.9. event.type and event.key
- 3.10. pg.quit()
- 3.11. sys.exit()
- 3.12. update definition
- 3.13. pg.display.flip()
- 3.14. draw definition
- 3.15. screen.fill()