diff --git a/build.py b/build.py index bfbf7e6..7cb3b05 100644 --- a/build.py +++ b/build.py @@ -8,29 +8,47 @@ if sys.platform == 'win32': # TODO add icon to cx freeze set up setup( - name="Tetris", - version="0.7.0", - description="Tetris Python Clone", + name="Tetri5", + version="1.0.0", + description="A full featured tetris game using python's pygame library. https://github.com/gio101046/tetri5", options={ "build_exe": { "packages": [ "pygame", "typing", + "types", "copy", "yaml", "random", "sys", - "tetris.entity", - "tetris.game", - "tetris.util" + "asyncio", + "websockets", + "json", + "queue", + "uuid", + "threading", + "tetri5.entity", + "tetri5.game", + "tetri5.modal", + "tetri5.online", + "tetri5.scene", + "tetri5.util" ], "include_files": [ ("config.yaml", "config.yaml"), - ("resource/image/tetris_icon.png", "resource/image/tetris_icon.png"), ("resource/image/press-start-2p-font.bmp", "resource/image/press-start-2p-font.bmp"), - ("resource/sound/main_music.ogg", "resource/sound/main_music.ogg"), - ("resource/sound/piece_set_3.wav", "resource/sound/piece_set_3.wav"), - ("resource/sound/row_completion.wav", "resource/sound/row_completion.wav"), + ("resource/image/tetris_icon.png", "resource/image/tetris_icon.png"), + ("resource/image/title_screen.png", "resource/image/title_screen.png"), + ("resource/sound/four_lines_complete.ogg", "resource/sound/four_lines_complete.ogg"), + ("resource/sound/game_over.ogg", "resource/sound/game_over.ogg"), + ("resource/sound/level_up.ogg", "resource/sound/level_up.ogg"), + ("resource/sound/line_complete.ogg", "resource/sound/line_complete.ogg"), + ("resource/sound/option_change.wav", "resource/sound/option_change.wav"), + ("resource/sound/piece_rotate.ogg", "resource/sound/piece_rotate.ogg"), + ("resource/sound/piece_set.ogg", "resource/sound/piece_set.ogg"), + ("resource/sound/theme_music_multi.ogg", "resource/sound/theme_music_multi.ogg"), + ("resource/sound/theme_music_single.ogg", "resource/sound/theme_music_single.ogg"), + ("resource/sound/you_win.ogg", "resource/sound/you_win.ogg") ] } }, diff --git a/tetri5/scene.py b/tetri5/scene.py index c7ca716..f050df2 100644 --- a/tetri5/scene.py +++ b/tetri5/scene.py @@ -1,4 +1,3 @@ -import sys import pygame from types import FunctionType from tetri5.util import ConfigurationManager