Simple game package with console and pygame games
Project description
๐ฎ HyoHyo Game Package
๋ค์ํ ์ฌ๋ฏธ์๋ ๊ฒ์๋ค์ ๋ชจ์๋์ Python ํจํค์ง์ ๋๋ค. ์ฝ์ ๊ธฐ๋ฐ ํด๋์ ๊ฒ์๋ถํฐ Pygame์ ํ์ฉํ ๊ทธ๋ํฝ ๊ฒ์๊น์ง ์ฆ๊ธธ ์ ์์ต๋๋ค!
๐ฆ ์ค์น
pip install hyohyo_game
๐ฏ ํฌํจ๋ ๊ฒ์
์ฝ์ ๊ฒ์
- ๊ฐ์๋ฐ์๋ณด: ์ปดํจํฐ์ ๊ฐ์๋ฐ์๋ณด ๋๊ฒฐ
- ์ซ์ ๋ง์ถ๊ธฐ: 1~100 ์ฌ์ด ์ซ์๋ฅผ ๋ง์ถ๋ ์ ์ค๋ค์ด ๊ฒ์
- ์ซ์์ผ๊ตฌ: 3์๋ฆฌ ์ซ์๋ก ํ๋ ์คํธ๋ผ์ดํฌ/๋ณผ ๊ฒ์
Pygame ๊ฒ์
- ํฌ๋ฆฌ์ค๋ง์ค ๋ฌ๋: ๐ ์ฐํ๊ฐ ๋์ด ์ฅ์ ๋ฌผ์ ํผํ๋ฉฐ ๋ฌ๋ฆฌ๋ ์ก์ ๊ฒ์
- ์คํค ์ด๋๋ฒค์ฒ: โ๏ธ ๋๋ฉ์ด๋ฅผ ํผํ๋ฉฐ ์คํค๋ฅผ ํ๋ ์๋ฐ์ด๋ฒ ๊ฒ์
๐ ์ฌ์ฉ๋ฒ
import hyohyo_game
# ์ฝ์ ๊ฒ์๋ค
hyohyo_game.rock_paper_scissors() # ๊ฐ์๋ฐ์๋ณด
hyohyo_game.guess_the_number() # ์ซ์ ๋ง์ถ๊ธฐ
hyohyo_game.number_baseball() # ์ซ์์ผ๊ตฌ
# Pygame ๊ฒ์๋ค (๊ทธ๋ํฝ ๊ฒ์)
hyohyo_game.christmas_runner() # ํฌ๋ฆฌ์ค๋ง์ค ๋ฌ๋
hyohyo_game.ski_adventure() # ์คํค ์ด๋๋ฒค์ฒ
๐ฎ ๊ฒ์ ์กฐ์๋ฒ
ํฌ๋ฆฌ์ค๋ง์ค ๋ฌ๋
- ์คํ์ด์ค๋ฐ: ์ ํ (๊ธธ๊ฒ ๋๋ฅด๋ฉด ๋์ด ์ ํ)
- ๋๋ธ ์ ํ: ๊ณต์ค์์ ํ ๋ฒ ๋ ์ ํ ๊ฐ๋ฅ (ํ์์ ํ๋ ์)
- ํ์์ : ์ด๋, ๋๋ธ ์ ํ ๋ฑ ๋ค์ํ ๋ฅ๋ ฅ
์คํค ์ด๋๋ฒค์ฒ
- ๋ฐฉํฅํค: ํ๋ ์ด์ด ์ด๋ (์ํ์ข์ฐ)
- ํ์์ : ์ด๋, ์ฌ๋ก์ฐ ๋ชจ์ , ์ ์ ๋ฐฐ์จ ๋ฑ
๐ ์๊ตฌ์ฌํญ
- Python 3.9+
- pygame 2.6.1+ (๊ทธ๋ํฝ ๊ฒ์์ฉ, ์๋ ์ค์น๋จ)
๐ฏ ํน์ง
- ๊ฐ๋จํ ์ค์น: pip ํ ์ค๋ก ์ค์น ์๋ฃ
- ๋ค์ํ ์ฅ๋ฅด: ์ฝ์ ๊ฒ์๋ถํฐ ์ก์ ๊ฒ์๊น์ง
- ์ฆ์ ํ๋ ์ด: import ํ ๋ฐ๋ก ๊ฒ์ ์์
- ํ๊ตญ์ด ์ง์: ๋ชจ๋ ๊ฒ์์ด ํ๊ตญ์ด๋ก ์ ๊ณต
๐ ๋ผ์ด์ ์ค
์ด ํ๋ก์ ํธ๋ MIT ๋ผ์ด์ ์ค ํ์ ๋ฐฐํฌ๋ฉ๋๋ค.
๐จโ๐ป ๊ฐ๋ฐ์
hyojun - statisticlee@gmail.com
๐ฎ ์ฆ๊ฑฐ์ด ๊ฒ์ ๋์ธ์! ๐ฎ
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hyohyo_game-0.2.1.tar.gz.
File metadata
- Download URL: hyohyo_game-0.2.1.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85566957769a2784df97a004fee0b68de2b748b1122a5986ff66633a2c9af563
|
|
| MD5 |
61d6630c403eaf15df8da4b42d4ae33c
|
|
| BLAKE2b-256 |
473a459aed646997d7d6935021a8c7957196020a0e63b57f73ad967f40024cac
|
File details
Details for the file hyohyo_game-0.2.1-py3-none-any.whl.
File metadata
- Download URL: hyohyo_game-0.2.1-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0b29619c40a68832d59b455f8f7fb7b9e66863e9dadb70c901152098686df65
|
|
| MD5 |
f1209afb9c1dd8eebedea7c6fe3d166d
|
|
| BLAKE2b-256 |
b05395df174691fa6e2af9bd06df1a7995d528fd8bbe6c39ce278b9188e56f7d
|