diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/Jungle.iml b/.idea/Jungle.iml new file mode 100644 index 0000000..d0876a7 --- /dev/null +++ b/.idea/Jungle.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..d56657a --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..d24e339 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..8894a6e --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/animalchess b/animalchess deleted file mode 160000 index 390e89f..0000000 --- a/animalchess +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 390e89fc71f4bec2756216453f8fa84dce188e55 diff --git a/audio/Cat.mp3 b/audio/Cat.mp3 new file mode 100644 index 0000000..32094dd Binary files /dev/null and b/audio/Cat.mp3 differ diff --git a/audio/Dog.mp3 b/audio/Dog.mp3 new file mode 100644 index 0000000..96327fa Binary files /dev/null and b/audio/Dog.mp3 differ diff --git a/audio/Elephant.mp3 b/audio/Elephant.mp3 new file mode 100644 index 0000000..4da8023 Binary files /dev/null and b/audio/Elephant.mp3 differ diff --git a/audio/Leopard.mp3 b/audio/Leopard.mp3 new file mode 100644 index 0000000..4766168 Binary files /dev/null and b/audio/Leopard.mp3 differ diff --git a/audio/Lion.mp3 b/audio/Lion.mp3 new file mode 100644 index 0000000..82e6e37 Binary files /dev/null and b/audio/Lion.mp3 differ diff --git a/audio/Mouse.mp3 b/audio/Mouse.mp3 new file mode 100644 index 0000000..d40e847 Binary files /dev/null and b/audio/Mouse.mp3 differ diff --git a/audio/Tiger.mp3 b/audio/Tiger.mp3 new file mode 100644 index 0000000..ffaca2b Binary files /dev/null and b/audio/Tiger.mp3 differ diff --git a/audio/Wolf.mp3 b/audio/Wolf.mp3 new file mode 100644 index 0000000..d095c80 Binary files /dev/null and b/audio/Wolf.mp3 differ diff --git a/audio/bgm.mp3 b/audio/bgm.mp3 new file mode 100644 index 0000000..0f05c7e Binary files /dev/null and b/audio/bgm.mp3 differ diff --git a/audio/start.mp3 b/audio/start.mp3 new file mode 100644 index 0000000..e40f40c Binary files /dev/null and b/audio/start.mp3 differ diff --git a/images/animals/left/1MouseLeft.png b/images/animals/left/1MouseLeft.png new file mode 100644 index 0000000..ff262fb Binary files /dev/null and b/images/animals/left/1MouseLeft.png differ diff --git a/images/animals/left/2EagleLeft.png b/images/animals/left/2EagleLeft.png new file mode 100644 index 0000000..494f9e5 Binary files /dev/null and b/images/animals/left/2EagleLeft.png differ diff --git a/images/animals/left/3WolfLeft.png b/images/animals/left/3WolfLeft.png new file mode 100644 index 0000000..d8a1d2e Binary files /dev/null and b/images/animals/left/3WolfLeft.png differ diff --git a/images/animals/left/4LeopardLeft.png b/images/animals/left/4LeopardLeft.png new file mode 100644 index 0000000..3a3d7cc Binary files /dev/null and b/images/animals/left/4LeopardLeft.png differ diff --git a/images/animals/left/5TigerLeft.png b/images/animals/left/5TigerLeft.png new file mode 100644 index 0000000..80a6be3 Binary files /dev/null and b/images/animals/left/5TigerLeft.png differ diff --git a/images/animals/left/6LionLeft.png b/images/animals/left/6LionLeft.png new file mode 100644 index 0000000..1a260c3 Binary files /dev/null and b/images/animals/left/6LionLeft.png differ diff --git a/images/animals/left/7ElephantLeft.png b/images/animals/left/7ElephantLeft.png new file mode 100644 index 0000000..1def0c3 Binary files /dev/null and b/images/animals/left/7ElephantLeft.png differ diff --git a/images/animals/left/8FoxLeft.png b/images/animals/left/8FoxLeft.png new file mode 100644 index 0000000..a6eb0f3 Binary files /dev/null and b/images/animals/left/8FoxLeft.png differ diff --git a/images/animals/right/1MouseRight.png b/images/animals/right/1MouseRight.png new file mode 100644 index 0000000..a334d89 Binary files /dev/null and b/images/animals/right/1MouseRight.png differ diff --git a/images/animals/right/2EagleRight.png b/images/animals/right/2EagleRight.png new file mode 100644 index 0000000..f4b62d0 Binary files /dev/null and b/images/animals/right/2EagleRight.png differ diff --git a/images/animals/right/3WolfRight.png b/images/animals/right/3WolfRight.png new file mode 100644 index 0000000..3d6d937 Binary files /dev/null and b/images/animals/right/3WolfRight.png differ diff --git a/images/animals/right/4LeopardRight.png b/images/animals/right/4LeopardRight.png new file mode 100644 index 0000000..db15b39 Binary files /dev/null and b/images/animals/right/4LeopardRight.png differ diff --git a/images/animals/right/5TigerRight.png b/images/animals/right/5TigerRight.png new file mode 100644 index 0000000..70b678b Binary files /dev/null and b/images/animals/right/5TigerRight.png differ diff --git a/images/animals/right/6LionRight.png b/images/animals/right/6LionRight.png new file mode 100644 index 0000000..301c6d1 Binary files /dev/null and b/images/animals/right/6LionRight.png differ diff --git a/images/animals/right/7ElephantRight.png b/images/animals/right/7ElephantRight.png new file mode 100644 index 0000000..95fdc16 Binary files /dev/null and b/images/animals/right/7ElephantRight.png differ diff --git a/images/animals/right/8FoxRight.png b/images/animals/right/8FoxRight.png new file mode 100644 index 0000000..533bd75 Binary files /dev/null and b/images/animals/right/8FoxRight.png differ diff --git a/images/begin.png b/images/begin.png new file mode 100644 index 0000000..5495e85 Binary files /dev/null and b/images/begin.png differ diff --git a/images/lose.png b/images/lose.png new file mode 100644 index 0000000..ce280cb Binary files /dev/null and b/images/lose.png differ diff --git a/images/map.png b/images/map.png new file mode 100644 index 0000000..28ff2e3 Binary files /dev/null and b/images/map.png differ diff --git a/images/win.png b/images/win.png new file mode 100644 index 0000000..450262d Binary files /dev/null and b/images/win.png differ diff --git a/src/main.py b/src/main.py new file mode 100644 index 0000000..6edf181 --- /dev/null +++ b/src/main.py @@ -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() \ No newline at end of file