blob: 3632f41fbe007a610327c9b0593b615e4b50daae (
plain)
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
33
34
35
|
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()
load_images()
status = Status()
field = Field()
field.slice(20_000,20_000,True,1_000)
field.slice(10_000,20_000,False,1_000)
display.update(
[
status.get_sprites(),
field.get_sprites()
])
sleep(2)
pg_quit()
main()
|