from pygame import ( init as pg_init, quit as pg_quit) from time import sleep from display import Display from status import Status from field import Field from images import images, load_images def main(): pg_init() display = Display() scaling = display.get_scaling() load_images(scaling.scale) status = Status(scaling=scaling) field = Field(scaling=scaling) print(scaling) display.update( [ status.get_sprites(), field.get_sprites() ]) sleep(2) pg_quit() main()