@ -0,0 +1,3 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
@ -0,0 +1,6 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<settings>
|
||||
<option name="USE_PROJECT_PROFILE" value="false" />
|
||||
<version value="1.0" />
|
||||
</settings>
|
||||
</component>
|
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9" project-jdk-type="Python SDK" />
|
||||
</project>
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/Jungle.iml" filepath="$PROJECT_DIR$/.idea/Jungle.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
<mapping directory="$PROJECT_DIR$/animalchess" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
@ -1 +0,0 @@
|
||||
Subproject commit 390e89fc71f4bec2756216453f8fa84dce188e55
|
After Width: | Height: | Size: 101 KiB |
After Width: | Height: | Size: 7.5 KiB |
After Width: | Height: | Size: 133 KiB |
After Width: | Height: | Size: 142 KiB |
After Width: | Height: | Size: 156 KiB |
After Width: | Height: | Size: 156 KiB |
After Width: | Height: | Size: 127 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 98 KiB |
After Width: | Height: | Size: 7.7 KiB |
After Width: | Height: | Size: 135 KiB |
After Width: | Height: | Size: 142 KiB |
After Width: | Height: | Size: 159 KiB |
After Width: | Height: | Size: 156 KiB |
After Width: | Height: | Size: 127 KiB |
After Width: | Height: | Size: 7.7 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 174 KiB |
After Width: | Height: | Size: 10 KiB |
@ -0,0 +1,27 @@
|
||||
import pygame
|
||||
import os
|
||||
pygame.init()
|
||||
FPS = 60
|
||||
WIDTH , HEIGHT = 1200 , 800
|
||||
WIN = pygame.display.set_mode((WIDTH,HEIGHT))
|
||||
pygame.display.set_caption("Jungle")
|
||||
SPACE = pygame.transform.scale(pygame.image.load('../images/map.png'),(WIDTH,HEIGHT))
|
||||
def draw_window():
|
||||
WIN.blit(SPACE,(0,0))
|
||||
pygame.display.update()
|
||||
|
||||
def main():
|
||||
run = True
|
||||
clock = pygame.time.Clock()
|
||||
while run:
|
||||
clock.tick(FPS)
|
||||
for event in pygame.event.get():
|
||||
if event.type == pygame.QUIT:
|
||||
run = False
|
||||
draw_window()
|
||||
pygame.quit()
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|