Pygame:WebTetris
pygame + pygbag 으로 Tetris를 웹페이지에서 플레이하는 Demo.
WARNING |
Manus에서 자동 생성된 결과 이다. |
Downloads
Pygame_pygbag_tetris.zip
pygbag 빌드 스크립트
로그:
*pygbag 0.9.2*
Serving python files from [/home/ubuntu/tetris_project/build/web]
with no security/performance in mind, i'm just a test tool : don't rely on me
SUMMARY
________________________
# the app folder
app_folder=/home/ubuntu/tetris_project
# artefacts directory
build_dir=/home/ubuntu/tetris_project/build/web
# cache directory
cache=/home/ubuntu/tetris_project/build/web-cache
# the window title and icon name
app_name=tetris_project
# package name, better make it unique
package=web.pygame.tetris_project-1741908097
# icons: 96x96 for desktop, 16x16 for web
icon=favicon.png
# js/wasm provider
cdn=https://pygame-web.github.io/archives/0.9/
now packing application ....
Now in /
/todo.md
/game_design.md
/main.py
/pygbag_config.py
optimizing /home/ubuntu/tetris_project
/home/ubuntu/.local/lib/python3.10/site-packages/pygbag/optimizing.py:62: UserWarning: Black not found for processing folder=PosixPath('/home/ubuntu/tetris_project')
warnings.warn(f"Black not found for processing {folder=}")
/bin/sh: 1: ffmpeg: not found
/home/ubuntu/tetris_project : todo.md
/home/ubuntu/tetris_project : game_design.md
/home/ubuntu/tetris_project : main.py
/home/ubuntu/tetris_project : pygbag_config.py
packing 4 files complete
building from local cached template https://pygame-web.github.io/archives/0.9/noctx.tmpl
cached at /home/ubuntu/tetris_project/build/web-cache/7efa31ef002d3a8b88268b35c2403ac9.tmpl
result files will be in /home/ubuntu/tetris_project/build/web
using icon from local cached file https://pygame-web.github.io/archives/0.9/favicon.png
cached at /home/ubuntu/tetris_project/build/web-cache/38e02d124325c756243ee99a92e528ed.png
only building a web archive suitable for itch.io
archive file will be :
/home/ubuntu/tetris_project/build/web.zip