├── Appendix1
├── sub_prog.py
├── gc2080.png
├── image_pr
│ ├── bg.png
│ ├── sea.png
│ ├── board.png
│ ├── car00.png
│ ├── car01.png
│ ├── car02.png
│ ├── car03.png
│ ├── car04.png
│ ├── car05.png
│ ├── car06.png
│ ├── car10.png
│ ├── car11.png
│ ├── car12.png
│ ├── car13.png
│ ├── car14.png
│ ├── car15.png
│ ├── car16.png
│ ├── car20.png
│ ├── car21.png
│ ├── car22.png
│ ├── car23.png
│ ├── car24.png
│ ├── car25.png
│ ├── car26.png
│ ├── title.png
│ ├── yacht.png
│ └── yashi.png
├── image_gl
│ ├── logo.png
│ ├── bullet.png
│ ├── enemy0.png
│ ├── enemy1.png
│ ├── enemy2.png
│ ├── enemy3.png
│ ├── enemy4.png
│ ├── galaxy.png
│ ├── nebula.png
│ ├── shield.png
│ ├── starship.png
│ ├── enemy_boss.png
│ ├── enemy_boss_f.png
│ ├── explosion1.png
│ ├── explosion2.png
│ ├── explosion3.png
│ ├── explosion4.png
│ ├── explosion5.png
│ ├── starship_l.png
│ ├── starship_r.png
│ └── starship_burner.png
├── sound_gl
│ ├── bgm.ogg
│ ├── shot.ogg
│ ├── barrage.ogg
│ ├── damage.ogg
│ ├── explosion.ogg
│ ├── gameclear.ogg
│ └── gameover.ogg
├── sound_pr
│ ├── bgm.ogg
│ ├── goal.ogg
│ └── crash.ogg
├── sound_penpen
│ ├── bgm.ogg
│ ├── candy.ogg
│ ├── clear.ogg
│ └── miss.ogg
├── image_penpen
│ ├── pen00.png
│ ├── pen01.png
│ ├── pen02.png
│ ├── pen03.png
│ ├── pen04.png
│ ├── pen05.png
│ ├── pen06.png
│ ├── pen07.png
│ ├── pen08.png
│ ├── pen09.png
│ ├── pen10.png
│ ├── pen11.png
│ ├── red00.png
│ ├── red01.png
│ ├── red02.png
│ ├── red03.png
│ ├── red04.png
│ ├── red05.png
│ ├── red06.png
│ ├── red07.png
│ ├── red08.png
│ ├── red09.png
│ ├── red10.png
│ ├── red11.png
│ ├── title.png
│ ├── chip00.png
│ ├── chip01.png
│ ├── chip02.png
│ ├── chip03.png
│ ├── ending.png
│ ├── kuma00.png
│ ├── kuma01.png
│ ├── kuma02.png
│ ├── pen_face.png
│ ├── seiuchi00.png
│ ├── seiuchi01.png
│ └── seiuchi02.png
├── main_prog.py
└── game_center_208X.py
├── .DS_Store
├── .idea
├── .gitignore
├── misc.xml
├── inspectionProfiles
│ └── profiles_settings.xml
├── modules.xml
└── py2_samples.iml
├── .gitattributes
├── Appendix2
├── bg.png
├── cursor.png
├── erase.png
├── animal1.png
├── animal2.png
├── animal3.png
├── animal4.png
├── animal5.png
├── animal6.png
├── animal7.png
└── animal_pzl.py
├── Chapter1
├── dog0.png
├── dog1.png
├── dog2.png
├── dog3.png
├── park.png
├── chip0.png
├── chip1.png
├── chip2.png
├── chip3.png
├── list0101_1.py
├── list0103_1.py
├── list0102_1.py
├── list0101_2.py
├── list0103_2.py
├── list0104_1.py
├── list0103_3.py
└── list0105_1.py
├── Chapter2
├── fun.png
├── cosmo.png
├── dora0.png
├── dora1.png
├── meteo.png
├── building.png
├── starship0.png
├── starship1.png
├── list0203_1.py
├── list0203_3.py
├── list0203_4.py
├── list0203_2.py
├── list0202_1.py
├── list0201_1.py
├── list0204_1.py
├── doraneko.py
└── meteor.py
├── Chapter10
├── image_pr
│ ├── bg.png
│ ├── sea.png
│ ├── board.png
│ ├── car00.png
│ ├── car01.png
│ ├── car02.png
│ ├── car03.png
│ ├── car04.png
│ ├── car05.png
│ ├── car06.png
│ ├── yacht.png
│ └── yashi.png
├── list1002_1.py
├── list1003_1.py
├── list1004_1.py
├── list1005_1.py
├── list1006_1.py
├── list1007_1.py
├── list1008_1.py
└── list1009_1.py
├── Chapter11
├── image_pr
│ ├── bg.png
│ ├── sea.png
│ ├── board.png
│ ├── car00.png
│ ├── car01.png
│ ├── car02.png
│ ├── car03.png
│ ├── car04.png
│ ├── car05.png
│ ├── car06.png
│ ├── car10.png
│ ├── car11.png
│ ├── car12.png
│ ├── car13.png
│ ├── car14.png
│ ├── car15.png
│ ├── car16.png
│ ├── car20.png
│ ├── car21.png
│ ├── car22.png
│ ├── car23.png
│ ├── car24.png
│ ├── car25.png
│ ├── car26.png
│ ├── title.png
│ ├── yacht.png
│ └── yashi.png
└── sound_pr
│ ├── bgm.ogg
│ ├── goal.ogg
│ └── crash.ogg
├── Chapter5
├── image
│ ├── galaxy.png
│ └── starship.png
├── list0503_1.py
├── list0504_1.py
├── list0506_1.py
└── list0505_1.py
├── Chapter8
├── sound_gl
│ ├── bgm.ogg
│ ├── shot.ogg
│ ├── barrage.ogg
│ ├── damage.ogg
│ ├── gameover.ogg
│ ├── explosion.ogg
│ └── gameclear.ogg
└── image_gl
│ ├── logo.png
│ ├── bullet.png
│ ├── enemy0.png
│ ├── enemy1.png
│ ├── enemy2.png
│ ├── enemy3.png
│ ├── enemy4.png
│ ├── galaxy.png
│ ├── nebula.png
│ ├── shield.png
│ ├── starship.png
│ ├── enemy_boss.png
│ ├── explosion1.png
│ ├── explosion2.png
│ ├── explosion3.png
│ ├── explosion4.png
│ ├── explosion5.png
│ ├── starship_l.png
│ ├── starship_r.png
│ ├── enemy_boss_f.png
│ └── starship_burner.png
├── Chapter7
├── image_gl
│ ├── logo.png
│ ├── bullet.png
│ ├── enemy0.png
│ ├── enemy1.png
│ ├── galaxy.png
│ ├── nebula.png
│ ├── shield.png
│ ├── starship.png
│ ├── explosion1.png
│ ├── explosion2.png
│ ├── explosion3.png
│ ├── explosion4.png
│ ├── explosion5.png
│ ├── starship_l.png
│ ├── starship_r.png
│ └── starship_burner.png
├── list07_column.py
├── list07_column2.py
├── list0701_1.py
├── list0702_1.py
└── list0703_1.py
├── Chapter6
├── image_gl
│ ├── bullet.png
│ ├── galaxy.png
│ ├── starship.png
│ ├── starship_l.png
│ ├── starship_r.png
│ └── starship_burner.png
├── list0602_1.py
├── list0603_1.py
├── list0603_2.py
├── list0604_1.py
├── list0605_1.py
├── list0605_2.py
└── list0606_1.py
├── Chapter3
├── image_penpen
│ ├── chip00.png
│ ├── chip01.png
│ ├── chip02.png
│ ├── chip03.png
│ ├── kuma00.png
│ ├── kuma01.png
│ ├── kuma02.png
│ ├── pen00.png
│ ├── pen01.png
│ ├── pen02.png
│ ├── pen03.png
│ ├── pen04.png
│ ├── pen05.png
│ ├── pen06.png
│ ├── pen07.png
│ ├── pen08.png
│ ├── pen09.png
│ ├── pen10.png
│ ├── pen11.png
│ ├── red00.png
│ ├── red01.png
│ ├── red02.png
│ ├── red03.png
│ ├── red04.png
│ ├── red05.png
│ ├── red06.png
│ ├── red07.png
│ ├── red08.png
│ ├── red09.png
│ ├── red10.png
│ ├── red11.png
│ ├── title.png
│ └── pen_face.png
├── list0302_1.py
├── list0303_1.py
├── list0304_1.py
├── list0305_1.py
├── list0306_1.py
└── list0307_1.py
├── Chapter4
├── image_penpen
│ ├── chip00.png
│ ├── chip01.png
│ ├── chip02.png
│ ├── chip03.png
│ ├── ending.png
│ ├── kuma00.png
│ ├── kuma01.png
│ ├── kuma02.png
│ ├── pen00.png
│ ├── pen01.png
│ ├── pen02.png
│ ├── pen03.png
│ ├── pen04.png
│ ├── pen05.png
│ ├── pen06.png
│ ├── pen07.png
│ ├── pen08.png
│ ├── pen09.png
│ ├── pen10.png
│ ├── pen11.png
│ ├── red00.png
│ ├── red01.png
│ ├── red02.png
│ ├── red03.png
│ ├── red04.png
│ ├── red05.png
│ ├── red06.png
│ ├── red07.png
│ ├── red08.png
│ ├── red09.png
│ ├── red10.png
│ ├── red11.png
│ ├── title.png
│ ├── pen_face.png
│ ├── seiuchi00.png
│ ├── seiuchi01.png
│ └── seiuchi02.png
├── list0406_1.py
└── map_editor.py
├── README.md
└── Chapter9
├── list0905_1.py
├── list0905_2.py
├── list0906_1.py
├── list0908_1.py
├── list0907_1.py
├── list0909_1.py
└── list09_column.py
/Appendix1/sub_prog.py:
--------------------------------------------------------------------------------
1 | def menseki(r):
2 | return (r*r*3.14)
3 |
--------------------------------------------------------------------------------
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/.DS_Store
--------------------------------------------------------------------------------
/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/Appendix2/bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix2/bg.png
--------------------------------------------------------------------------------
/Chapter1/dog0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter1/dog0.png
--------------------------------------------------------------------------------
/Chapter1/dog1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter1/dog1.png
--------------------------------------------------------------------------------
/Chapter1/dog2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter1/dog2.png
--------------------------------------------------------------------------------
/Chapter1/dog3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter1/dog3.png
--------------------------------------------------------------------------------
/Chapter1/park.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter1/park.png
--------------------------------------------------------------------------------
/Chapter2/fun.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter2/fun.png
--------------------------------------------------------------------------------
/Appendix1/gc2080.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/gc2080.png
--------------------------------------------------------------------------------
/Appendix2/cursor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix2/cursor.png
--------------------------------------------------------------------------------
/Appendix2/erase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix2/erase.png
--------------------------------------------------------------------------------
/Chapter1/chip0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter1/chip0.png
--------------------------------------------------------------------------------
/Chapter1/chip1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter1/chip1.png
--------------------------------------------------------------------------------
/Chapter1/chip2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter1/chip2.png
--------------------------------------------------------------------------------
/Chapter1/chip3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter1/chip3.png
--------------------------------------------------------------------------------
/Chapter2/cosmo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter2/cosmo.png
--------------------------------------------------------------------------------
/Chapter2/dora0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter2/dora0.png
--------------------------------------------------------------------------------
/Chapter2/dora1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter2/dora1.png
--------------------------------------------------------------------------------
/Chapter2/meteo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter2/meteo.png
--------------------------------------------------------------------------------
/Appendix2/animal1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix2/animal1.png
--------------------------------------------------------------------------------
/Appendix2/animal2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix2/animal2.png
--------------------------------------------------------------------------------
/Appendix2/animal3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix2/animal3.png
--------------------------------------------------------------------------------
/Appendix2/animal4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix2/animal4.png
--------------------------------------------------------------------------------
/Appendix2/animal5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix2/animal5.png
--------------------------------------------------------------------------------
/Appendix2/animal6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix2/animal6.png
--------------------------------------------------------------------------------
/Appendix2/animal7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix2/animal7.png
--------------------------------------------------------------------------------
/Chapter2/building.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter2/building.png
--------------------------------------------------------------------------------
/Chapter2/starship0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter2/starship0.png
--------------------------------------------------------------------------------
/Chapter2/starship1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter2/starship1.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/bg.png
--------------------------------------------------------------------------------
/Chapter10/image_pr/bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter10/image_pr/bg.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/bg.png
--------------------------------------------------------------------------------
/Chapter5/image/galaxy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter5/image/galaxy.png
--------------------------------------------------------------------------------
/Chapter8/sound_gl/bgm.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/sound_gl/bgm.ogg
--------------------------------------------------------------------------------
/Appendix1/image_gl/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/logo.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/sea.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/sea.png
--------------------------------------------------------------------------------
/Appendix1/sound_gl/bgm.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/sound_gl/bgm.ogg
--------------------------------------------------------------------------------
/Appendix1/sound_gl/shot.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/sound_gl/shot.ogg
--------------------------------------------------------------------------------
/Appendix1/sound_pr/bgm.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/sound_pr/bgm.ogg
--------------------------------------------------------------------------------
/Appendix1/sound_pr/goal.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/sound_pr/goal.ogg
--------------------------------------------------------------------------------
/Chapter10/image_pr/sea.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter10/image_pr/sea.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/sea.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/sea.png
--------------------------------------------------------------------------------
/Chapter11/sound_pr/bgm.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/sound_pr/bgm.ogg
--------------------------------------------------------------------------------
/Chapter11/sound_pr/goal.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/sound_pr/goal.ogg
--------------------------------------------------------------------------------
/Chapter5/image/starship.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter5/image/starship.png
--------------------------------------------------------------------------------
/Chapter7/image_gl/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter7/image_gl/logo.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/logo.png
--------------------------------------------------------------------------------
/Chapter8/sound_gl/shot.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/sound_gl/shot.ogg
--------------------------------------------------------------------------------
/Appendix1/image_gl/bullet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/bullet.png
--------------------------------------------------------------------------------
/Appendix1/image_gl/enemy0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/enemy0.png
--------------------------------------------------------------------------------
/Appendix1/image_gl/enemy1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/enemy1.png
--------------------------------------------------------------------------------
/Appendix1/image_gl/enemy2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/enemy2.png
--------------------------------------------------------------------------------
/Appendix1/image_gl/enemy3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/enemy3.png
--------------------------------------------------------------------------------
/Appendix1/image_gl/enemy4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/enemy4.png
--------------------------------------------------------------------------------
/Appendix1/image_gl/galaxy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/galaxy.png
--------------------------------------------------------------------------------
/Appendix1/image_gl/nebula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/nebula.png
--------------------------------------------------------------------------------
/Appendix1/image_gl/shield.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/shield.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/board.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/board.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car00.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car01.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car02.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car03.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car04.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car05.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car06.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car10.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car11.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car12.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car13.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car14.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car15.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car15.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car16.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car20.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car21.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car21.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car22.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car22.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car23.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car23.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car24.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car25.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car25.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/car26.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/car26.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/title.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/title.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/yacht.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/yacht.png
--------------------------------------------------------------------------------
/Appendix1/image_pr/yashi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_pr/yashi.png
--------------------------------------------------------------------------------
/Appendix1/sound_gl/barrage.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/sound_gl/barrage.ogg
--------------------------------------------------------------------------------
/Appendix1/sound_gl/damage.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/sound_gl/damage.ogg
--------------------------------------------------------------------------------
/Appendix1/sound_penpen/bgm.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/sound_penpen/bgm.ogg
--------------------------------------------------------------------------------
/Appendix1/sound_pr/crash.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/sound_pr/crash.ogg
--------------------------------------------------------------------------------
/Chapter10/image_pr/board.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter10/image_pr/board.png
--------------------------------------------------------------------------------
/Chapter10/image_pr/car00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter10/image_pr/car00.png
--------------------------------------------------------------------------------
/Chapter10/image_pr/car01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter10/image_pr/car01.png
--------------------------------------------------------------------------------
/Chapter10/image_pr/car02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter10/image_pr/car02.png
--------------------------------------------------------------------------------
/Chapter10/image_pr/car03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter10/image_pr/car03.png
--------------------------------------------------------------------------------
/Chapter10/image_pr/car04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter10/image_pr/car04.png
--------------------------------------------------------------------------------
/Chapter10/image_pr/car05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter10/image_pr/car05.png
--------------------------------------------------------------------------------
/Chapter10/image_pr/car06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter10/image_pr/car06.png
--------------------------------------------------------------------------------
/Chapter10/image_pr/yacht.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter10/image_pr/yacht.png
--------------------------------------------------------------------------------
/Chapter10/image_pr/yashi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter10/image_pr/yashi.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/board.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/board.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car00.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car01.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car02.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car03.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car04.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car05.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car06.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car10.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car11.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car12.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car13.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car14.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car15.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car15.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car16.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car20.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car21.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car21.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car22.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car22.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car23.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car23.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car24.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car25.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car25.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/car26.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/car26.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/title.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/title.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/yacht.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/yacht.png
--------------------------------------------------------------------------------
/Chapter11/image_pr/yashi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/image_pr/yashi.png
--------------------------------------------------------------------------------
/Chapter11/sound_pr/crash.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter11/sound_pr/crash.ogg
--------------------------------------------------------------------------------
/Chapter6/image_gl/bullet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter6/image_gl/bullet.png
--------------------------------------------------------------------------------
/Chapter6/image_gl/galaxy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter6/image_gl/galaxy.png
--------------------------------------------------------------------------------
/Chapter6/image_gl/starship.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter6/image_gl/starship.png
--------------------------------------------------------------------------------
/Chapter7/image_gl/bullet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter7/image_gl/bullet.png
--------------------------------------------------------------------------------
/Chapter7/image_gl/enemy0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter7/image_gl/enemy0.png
--------------------------------------------------------------------------------
/Chapter7/image_gl/enemy1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter7/image_gl/enemy1.png
--------------------------------------------------------------------------------
/Chapter7/image_gl/galaxy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter7/image_gl/galaxy.png
--------------------------------------------------------------------------------
/Chapter7/image_gl/nebula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter7/image_gl/nebula.png
--------------------------------------------------------------------------------
/Chapter7/image_gl/shield.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter7/image_gl/shield.png
--------------------------------------------------------------------------------
/Chapter7/image_gl/starship.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter7/image_gl/starship.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/bullet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/bullet.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/enemy0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/enemy0.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/enemy1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/enemy1.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/enemy2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/enemy2.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/enemy3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/enemy3.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/enemy4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/enemy4.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/galaxy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/galaxy.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/nebula.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/nebula.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/shield.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/shield.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/starship.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/starship.png
--------------------------------------------------------------------------------
/Chapter8/sound_gl/barrage.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/sound_gl/barrage.ogg
--------------------------------------------------------------------------------
/Chapter8/sound_gl/damage.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/sound_gl/damage.ogg
--------------------------------------------------------------------------------
/Chapter8/sound_gl/gameover.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/sound_gl/gameover.ogg
--------------------------------------------------------------------------------
/Appendix1/image_gl/starship.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/starship.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/pen00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/pen00.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/pen01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/pen01.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/pen02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/pen02.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/pen03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/pen03.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/pen04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/pen04.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/pen05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/pen05.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/pen06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/pen06.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/pen07.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/pen07.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/pen08.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/pen08.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/pen09.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/pen09.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/pen10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/pen10.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/pen11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/pen11.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/red00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/red00.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/red01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/red01.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/red02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/red02.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/red03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/red03.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/red04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/red04.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/red05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/red05.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/red06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/red06.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/red07.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/red07.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/red08.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/red08.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/red09.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/red09.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/red10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/red10.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/red11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/red11.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/title.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/title.png
--------------------------------------------------------------------------------
/Appendix1/sound_gl/explosion.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/sound_gl/explosion.ogg
--------------------------------------------------------------------------------
/Appendix1/sound_gl/gameclear.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/sound_gl/gameclear.ogg
--------------------------------------------------------------------------------
/Appendix1/sound_gl/gameover.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/sound_gl/gameover.ogg
--------------------------------------------------------------------------------
/Appendix1/sound_penpen/candy.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/sound_penpen/candy.ogg
--------------------------------------------------------------------------------
/Appendix1/sound_penpen/clear.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/sound_penpen/clear.ogg
--------------------------------------------------------------------------------
/Appendix1/sound_penpen/miss.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/sound_penpen/miss.ogg
--------------------------------------------------------------------------------
/Chapter3/image_penpen/chip00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/chip00.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/chip01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/chip01.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/chip02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/chip02.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/chip03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/chip03.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/kuma00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/kuma00.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/kuma01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/kuma01.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/kuma02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/kuma02.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/pen00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/pen00.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/pen01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/pen01.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/pen02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/pen02.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/pen03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/pen03.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/pen04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/pen04.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/pen05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/pen05.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/pen06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/pen06.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/pen07.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/pen07.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/pen08.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/pen08.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/pen09.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/pen09.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/pen10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/pen10.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/pen11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/pen11.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/red00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/red00.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/red01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/red01.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/red02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/red02.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/red03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/red03.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/red04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/red04.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/red05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/red05.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/red06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/red06.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/red07.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/red07.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/red08.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/red08.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/red09.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/red09.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/red10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/red10.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/red11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/red11.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/title.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/title.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/chip00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/chip00.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/chip01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/chip01.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/chip02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/chip02.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/chip03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/chip03.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/ending.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/ending.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/kuma00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/kuma00.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/kuma01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/kuma01.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/kuma02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/kuma02.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/pen00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/pen00.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/pen01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/pen01.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/pen02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/pen02.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/pen03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/pen03.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/pen04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/pen04.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/pen05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/pen05.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/pen06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/pen06.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/pen07.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/pen07.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/pen08.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/pen08.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/pen09.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/pen09.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/pen10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/pen10.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/pen11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/pen11.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/red00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/red00.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/red01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/red01.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/red02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/red02.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/red03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/red03.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/red04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/red04.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/red05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/red05.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/red06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/red06.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/red07.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/red07.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/red08.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/red08.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/red09.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/red09.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/red10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/red10.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/red11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/red11.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/title.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/title.png
--------------------------------------------------------------------------------
/Chapter6/image_gl/starship_l.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter6/image_gl/starship_l.png
--------------------------------------------------------------------------------
/Chapter6/image_gl/starship_r.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter6/image_gl/starship_r.png
--------------------------------------------------------------------------------
/Chapter7/image_gl/explosion1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter7/image_gl/explosion1.png
--------------------------------------------------------------------------------
/Chapter7/image_gl/explosion2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter7/image_gl/explosion2.png
--------------------------------------------------------------------------------
/Chapter7/image_gl/explosion3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter7/image_gl/explosion3.png
--------------------------------------------------------------------------------
/Chapter7/image_gl/explosion4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter7/image_gl/explosion4.png
--------------------------------------------------------------------------------
/Chapter7/image_gl/explosion5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter7/image_gl/explosion5.png
--------------------------------------------------------------------------------
/Chapter7/image_gl/starship_l.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter7/image_gl/starship_l.png
--------------------------------------------------------------------------------
/Chapter7/image_gl/starship_r.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter7/image_gl/starship_r.png
--------------------------------------------------------------------------------
/Chapter7/list07_column.py:
--------------------------------------------------------------------------------
1 | import random
2 | r = random.randint(0, 999)
3 | print("." * r + "," + "." * (1000 - r))
4 |
--------------------------------------------------------------------------------
/Chapter8/image_gl/enemy_boss.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/enemy_boss.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/explosion1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/explosion1.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/explosion2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/explosion2.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/explosion3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/explosion3.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/explosion4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/explosion4.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/explosion5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/explosion5.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/starship_l.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/starship_l.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/starship_r.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/starship_r.png
--------------------------------------------------------------------------------
/Chapter8/sound_gl/explosion.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/sound_gl/explosion.ogg
--------------------------------------------------------------------------------
/Chapter8/sound_gl/gameclear.ogg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/sound_gl/gameclear.ogg
--------------------------------------------------------------------------------
/Appendix1/image_gl/enemy_boss.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/enemy_boss.png
--------------------------------------------------------------------------------
/Appendix1/image_gl/enemy_boss_f.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/enemy_boss_f.png
--------------------------------------------------------------------------------
/Appendix1/image_gl/explosion1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/explosion1.png
--------------------------------------------------------------------------------
/Appendix1/image_gl/explosion2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/explosion2.png
--------------------------------------------------------------------------------
/Appendix1/image_gl/explosion3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/explosion3.png
--------------------------------------------------------------------------------
/Appendix1/image_gl/explosion4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/explosion4.png
--------------------------------------------------------------------------------
/Appendix1/image_gl/explosion5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/explosion5.png
--------------------------------------------------------------------------------
/Appendix1/image_gl/starship_l.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/starship_l.png
--------------------------------------------------------------------------------
/Appendix1/image_gl/starship_r.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/starship_r.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/chip00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/chip00.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/chip01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/chip01.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/chip02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/chip02.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/chip03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/chip03.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/ending.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/ending.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/kuma00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/kuma00.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/kuma01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/kuma01.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/kuma02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/kuma02.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/pen_face.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/pen_face.png
--------------------------------------------------------------------------------
/Chapter3/image_penpen/pen_face.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter3/image_penpen/pen_face.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/pen_face.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/pen_face.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/seiuchi00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/seiuchi00.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/seiuchi01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/seiuchi01.png
--------------------------------------------------------------------------------
/Chapter4/image_penpen/seiuchi02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter4/image_penpen/seiuchi02.png
--------------------------------------------------------------------------------
/Chapter8/image_gl/enemy_boss_f.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/enemy_boss_f.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/seiuchi00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/seiuchi00.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/seiuchi01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/seiuchi01.png
--------------------------------------------------------------------------------
/Appendix1/image_penpen/seiuchi02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_penpen/seiuchi02.png
--------------------------------------------------------------------------------
/Chapter6/image_gl/starship_burner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter6/image_gl/starship_burner.png
--------------------------------------------------------------------------------
/Chapter7/image_gl/starship_burner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter7/image_gl/starship_burner.png
--------------------------------------------------------------------------------
/Chapter7/list07_column2.py:
--------------------------------------------------------------------------------
1 | import random
2 | r = random.randint(0, 999)
3 | print("고양이" * r + "야옹이" + "고양이" * (1000 - r))
4 |
--------------------------------------------------------------------------------
/Chapter8/image_gl/starship_burner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Chapter8/image_gl/starship_burner.png
--------------------------------------------------------------------------------
/Appendix1/image_gl/starship_burner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Jpub/PythonGame_2/HEAD/Appendix1/image_gl/starship_burner.png
--------------------------------------------------------------------------------
/Appendix1/main_prog.py:
--------------------------------------------------------------------------------
1 | import sub_prog
2 | r = input("원의 반지름을 입력해 주십시오 ")
3 | a = sub_prog.menseki(int(r))
4 | print("반지름 {}인 원의 넓이는 {}입니다".format(r, a))
5 |
--------------------------------------------------------------------------------
/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/.idea/inspectionProfiles/profiles_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Chapter2/list0203_1.py:
--------------------------------------------------------------------------------
1 | import math
2 | d = 45 # 도
3 | a = math.radians(d) # 라디안으로 변환
4 | s = math.sin(a)
5 | c = math.cos(a)
6 | t = math.tan(a)
7 | print("sin " + str(s))
8 | print("cos " + str(c))
9 | print("tan " + str(t))
10 |
--------------------------------------------------------------------------------
/Chapter1/list0101_1.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 |
3 | root = tkinter.Tk()
4 | root.geometry("400x200")
5 | root.title("파이썬에서 GUI 다루기")
6 | label = tkinter.Label(root, text="게임 개발 첫 걸음", font=("Times New Roman", 20))
7 | label.place(x=80, y=60)
8 | root.mainloop()
9 |
--------------------------------------------------------------------------------
/Chapter1/list0103_1.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 |
3 | root = tkinter.Tk()
4 | root.title("Canvas에 화면 그리기")
5 | canvas = tkinter.Canvas(width=480, height=300)
6 | canvas.pack()
7 | img_bg = tkinter.PhotoImage(file="park.png")
8 | canvas.create_image(240, 150, image=img_bg)
9 | root.mainloop()
10 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/py2_samples.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Chapter2/list0203_3.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 | import math
3 |
4 | root = tkinter.Tk()
5 | root.title("삼각함수를 활용한 선 그리기")
6 | canvas = tkinter.Canvas(width=400, height=400, bg="white")
7 | canvas.pack()
8 | for d in range(0, 90, 10):
9 | a = math.radians(d)
10 | x = 300 * math.cos(a)
11 | y = 300 * math.sin(a)
12 | canvas.create_line(0, 0, x, y, fill="blue")
13 | root.mainloop()
14 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 파이썬으로 배우는 게임 개발 실전편
2 | 
3 |
4 | **출판사** 제이펍
5 | **원서명** Pythonでつくる ゲーム開発 入門講座 実践編(원서 ISBN: 978-4800712561)
6 | **저자명** 히로세 츠요시
7 | **역자명** 김연수
8 | **출판일** 2020년 11월 20일
9 | **페이지** 544쪽
10 | **ISBN** 979-11-90665-45-2 (93000)
11 |
12 | [### 도서 소개 페이지 바로 가기 ###](https://jpub.tistory.com/1107)
--------------------------------------------------------------------------------
/Chapter1/list0102_1.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 | import datetime
3 |
4 | def time_now():
5 | d = datetime.datetime.now()
6 | t = "{0}:{1}:{2}".format(d.hour, d.minute, d.second)
7 | label["text"] = t
8 | root.after(1000, time_now)
9 |
10 | root = tkinter.Tk()
11 | root.geometry("400x100")
12 | root.title("간이 계산")
13 | label = tkinter.Label(font=("Times New Roman", 60))
14 | label.pack()
15 | time_now()
16 | root.mainloop()
17 |
--------------------------------------------------------------------------------
/Chapter9/list0905_1.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 |
3 | root = tkinter.Tk()
4 | root.title("도로 그리기")
5 | canvas = tkinter.Canvas(width=800, height=600, bg="blue")
6 | canvas.pack()
7 |
8 | canvas.create_rectangle(0, 300, 800, 600, fill="green")
9 |
10 | BORD_COL = ["white", "silver", "gray"]
11 | for i in range(1, 25):
12 | w = i * 33
13 | h = 12
14 | x = 400 - w / 2
15 | y = 288 + i * h
16 | col = BORD_COL[i % 3]
17 | canvas.create_rectangle(x, y, x + w, y + h, fill=col)
18 |
19 | root.mainloop()
20 |
--------------------------------------------------------------------------------
/Chapter2/list0203_4.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 | import math
3 |
4 | root = tkinter.Tk()
5 | root.title("삼각함수를 활용한 도형 그리기")
6 | canvas = tkinter.Canvas(width=600, height=600, bg="black")
7 | canvas.pack()
8 |
9 | COL = ["greenyellow", "limegreen", "aquamarine", "cyan", "deepskyblue", "blue", "blueviolet", "violet"]
10 | for d in range(0, 360):
11 | x = 250 * math.cos(math.radians(d))
12 | y = 250 * math.sin(math.radians(d))
13 | canvas.create_line(300, 300, 300 + x, 300 + y, fill=COL[d % 8], width=2)
14 | root.mainloop()
15 |
--------------------------------------------------------------------------------
/Chapter1/list0101_2.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 |
3 | def key_down(e):
4 | key_c = e.keycode
5 | label1["text"] = "keycode " + str(key_c)
6 | key_s = e.keysym
7 | label2["text"] = "keysym " + key_s
8 |
9 | root = tkinter.Tk()
10 | root.geometry("400x200")
11 | root.title("키 입력")
12 | root.bind("", key_down)
13 | fnt = ("Times New Roman", 30)
14 | label1 = tkinter.Label(text="keycode", font=fnt)
15 | label1.place(x=0, y=0)
16 | label2 = tkinter.Label(text="keysym", font=fnt)
17 | label2.place(x=0, y=80)
18 | root.mainloop()
19 |
--------------------------------------------------------------------------------
/Chapter9/list0905_2.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 |
3 | root = tkinter.Tk()
4 | root.title("도로 그리기")
5 | canvas = tkinter.Canvas(width=800, height=600, bg="blue")
6 | canvas.pack()
7 |
8 | canvas.create_rectangle(0, 300, 800, 600, fill="green")
9 |
10 | BORD_COL = ["white", "silver", "gray"]
11 | h = 2
12 | y = 300
13 | for i in range(1, 24):
14 | w = i * i * 1.5
15 | x = 400 - w / 2
16 | col = BORD_COL[i % 3]
17 | canvas.create_rectangle(x, y, x + w, y + h, fill=col)
18 | y = y + h
19 | h = h + 1
20 |
21 | root.mainloop()
22 |
--------------------------------------------------------------------------------
/Chapter1/list0103_2.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 |
3 | x = 0
4 | def scroll_bg():
5 | global x
6 | x = x + 1
7 | if x == 480:
8 | x = 0
9 | canvas.delete("BG")
10 | canvas.create_image(x - 240, 150, image=img_bg, tag="BG")
11 | canvas.create_image(x + 240, 150, image=img_bg, tag="BG")
12 | root.after(50, scroll_bg)
13 |
14 | root = tkinter.Tk()
15 | root.title("화면 스크롤")
16 | canvas = tkinter.Canvas(width=480, height=300)
17 | canvas.pack()
18 | img_bg = tkinter.PhotoImage(file="park.png")
19 | scroll_bg()
20 | root.mainloop()
21 |
--------------------------------------------------------------------------------
/Chapter9/list0906_1.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 |
3 | root = tkinter.Tk()
4 | root.title("도로 그리기")
5 | canvas = tkinter.Canvas(width=800, height=600, bg="blue")
6 | canvas.pack()
7 |
8 | canvas.create_rectangle(0, 300, 800, 600, fill="green")
9 |
10 | BORD_COL = ["white", "silver", "gray"]
11 | h = 2
12 | y = 300
13 | for i in range(1, 24):
14 | uw = i * i * 1.5
15 | ux = 400 - uw / 2
16 | bw = (i + 1) * (i + 1) * 1.5
17 | bx = 400 - bw / 2
18 | col = BORD_COL[i % 3]
19 | canvas.create_polygon(ux, y, ux + uw, y, bx + bw, y + h, bx, y + h, fill=col)
20 | y = y + h
21 | h = h + 1
22 |
23 | root.mainloop()
24 |
--------------------------------------------------------------------------------
/Appendix1/game_center_208X.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 | import penpen_pygame
3 | import galaxy_lancer_gp
4 | import python_racer
5 |
6 | def key_down(e):
7 | key = e.keysym
8 | if key == "1":
9 | penpen_pygame.main()
10 | if key == "2":
11 | galaxy_lancer_gp.main()
12 | if key == "3":
13 | python_racer.main()
14 |
15 | root = tkinter.Tk()
16 | root.title("Game Center 2080's")
17 | root.resizable(False, False)
18 | root.bind("", key_down)
19 | canvas = tkinter.Canvas(width=800, height=800)
20 | canvas.pack()
21 | img = tkinter.PhotoImage(file="gc2080.png")
22 | canvas.create_image(400, 400, image=img)
23 | root.mainloop()
24 |
--------------------------------------------------------------------------------
/Chapter1/list0104_1.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 |
3 | root = tkinter.Tk()
4 | root.title("멥 데이터")
5 | canvas = tkinter.Canvas(width=336, height=240)
6 | canvas.pack()
7 | img = [
8 | tkinter.PhotoImage(file="chip0.png"),
9 | tkinter.PhotoImage(file="chip1.png"),
10 | tkinter.PhotoImage(file="chip2.png"),
11 | tkinter.PhotoImage(file="chip3.png")
12 | ]
13 | map_data = [
14 | [0, 1, 0, 2, 2, 2, 2],
15 | [3, 0, 0, 0, 2, 2, 2],
16 | [3, 0, 0, 1, 0, 0, 0],
17 | [3, 3, 0, 0, 0, 0, 1],
18 | [3, 3, 3, 3, 0, 0, 0]
19 | ]
20 | for y in range(5):
21 | for x in range(7):
22 | n = map_data[y][x]
23 | canvas.create_image(x * 48 + 24, y * 48 + 24, image=img[n])
24 | root.mainloop()
25 |
--------------------------------------------------------------------------------
/Chapter1/list0103_3.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 |
3 | x = 0
4 | ani = 0
5 | def animation():
6 | global x, ani
7 | x = x + 4
8 | if x == 480:
9 | x = 0
10 | canvas.delete("BG")
11 | canvas.create_image(x - 240, 150, image=img_bg, tag="BG")
12 | canvas.create_image(x + 240, 150, image=img_bg, tag="BG")
13 | ani = (ani + 1) % 4
14 | canvas.create_image(240, 200, image=img_dog[ani], tag="BG")
15 | root.after(200, animation)
16 |
17 | root = tkinter.Tk()
18 | root.title("애니메이션")
19 | canvas = tkinter.Canvas(width=480, height=300)
20 | canvas.pack()
21 | img_bg = tkinter.PhotoImage(file="park.png")
22 | img_dog = [
23 | tkinter.PhotoImage(file="dog0.png"),
24 | tkinter.PhotoImage(file="dog1.png"),
25 | tkinter.PhotoImage(file="dog2.png"),
26 | tkinter.PhotoImage(file="dog3.png")
27 | ]
28 | animation()
29 | root.mainloop()
30 |
--------------------------------------------------------------------------------
/Chapter2/list0203_2.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 | import math
3 |
4 | def trigo():
5 | try:
6 | d = float(entry.get())
7 | a = math.radians(d)
8 | s = math.sin(a)
9 | c = math.cos(a)
10 | t = math.tan(a)
11 | label_s["text"] = "sin " + str(s)
12 | label_c["text"] = "cos " + str(c)
13 | label_t["text"] = "tan " + str(t)
14 | except:
15 | print("각도를 도 값으로 입력해 주십시오: ")
16 |
17 | root = tkinter.Tk()
18 | root.geometry("300x200")
19 | root.title("삼각함수 값")
20 |
21 | entry = tkinter.Entry(width=10)
22 | entry.place(x=20, y=20)
23 | button = tkinter.Button(text="계산", command=trigo)
24 | button.place(x=110, y=20)
25 | label_s = tkinter.Label(text="sin")
26 | label_s.place(x=20, y=60)
27 | label_c = tkinter.Label(text="cos")
28 | label_c.place(x=20, y=100)
29 | label_t = tkinter.Label(text="tan")
30 | label_t.place(x=20, y=140)
31 |
32 | root.mainloop()
33 |
--------------------------------------------------------------------------------
/Chapter5/list0503_1.py:
--------------------------------------------------------------------------------
1 | import pygame
2 | import sys
3 |
4 | WHITE = (255, 255, 255)
5 | BLACK = (0, 0, 0)
6 |
7 | def main():
8 | pygame.init()
9 | pygame.display.set_caption("Pygame 사용법")
10 | screen = pygame.display.set_mode((800, 600))
11 | clock = pygame.time.Clock()
12 | font = pygame.font.Font(None, 80)
13 | tmr = 0
14 |
15 | while True:
16 | for event in pygame.event.get():
17 | if event.type == pygame.QUIT:
18 | pygame.quit()
19 | sys.exit()
20 |
21 | screen.fill(BLACK)
22 |
23 | tmr = tmr + 1
24 | col = (0, tmr % 256, 0)
25 | pygame.draw.rect(screen, col, [100, 100, 600, 400])
26 | sur = font.render(str(tmr), True, WHITE)
27 | screen.blit(sur, [300, 200])
28 |
29 | pygame.display.update()
30 | clock.tick(30)
31 |
32 | if __name__ == '__main__':
33 | main()
34 |
--------------------------------------------------------------------------------
/Chapter2/list0202_1.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 | import math
3 |
4 | def hit_check_circle():
5 | dis = math.sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2))
6 | if dis <= r1 + r2:
7 | return True
8 | return False
9 |
10 | def mouse_move(e):
11 | global x1, y1
12 | x1 = e.x
13 | y1 = e.y
14 | col = "green"
15 | if hit_check_circle() == True:
16 | col = "lime"
17 | canvas.delete("CIR1")
18 | canvas.create_oval(x1 - r1, y1 - r1, x1 + r1, y1 + r1, fill=col, tag="CIR1")
19 |
20 | root = tkinter.Tk()
21 | root.title("원을 사용한 히트 체크")
22 | canvas = tkinter.Canvas(width=600, height=400, bg="white")
23 | canvas.pack()
24 | canvas.bind("", mouse_move)
25 |
26 | x1 = 50
27 | y1 = 50
28 | r1 = 40
29 | canvas.create_oval(x1 - r1, y1 - r1, x1 + r1, y1 + r1, fill="green", tag="CIR1")
30 |
31 | x2 = 300
32 | y2 = 200
33 | r2 = 80
34 | canvas.create_oval(x2 - r2, y2 - r2, x2 + r2, y2 + r2, fill="orange")
35 |
36 | root.mainloop()
37 |
--------------------------------------------------------------------------------
/Chapter5/list0504_1.py:
--------------------------------------------------------------------------------
1 | import pygame
2 | import sys
3 |
4 | img_galaxy = pygame.image.load("image/galaxy.png")
5 |
6 | def main():
7 | pygame.init()
8 | pygame.display.set_caption("Pygame 사용법")
9 | screen = pygame.display.set_mode((960, 720))
10 | clock = pygame.time.Clock()
11 |
12 | while True:
13 | for event in pygame.event.get():
14 | if event.type == pygame.QUIT:
15 | pygame.quit()
16 | sys.exit()
17 | if event.type == pygame.KEYDOWN:
18 | if event.key == pygame.K_F1:
19 | screen = pygame.display.set_mode((960, 720), pygame.FULLSCREEN)
20 | if event.key == pygame.K_F2 or event.key == pygame.K_ESCAPE:
21 | screen = pygame.display.set_mode((960, 720))
22 |
23 | screen.blit(img_galaxy, [0, 0])
24 | pygame.display.update()
25 | clock.tick(30)
26 |
27 | if __name__ == '__main__':
28 | main()
29 |
--------------------------------------------------------------------------------
/Chapter2/list0201_1.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 |
3 | def hit_check_rect():
4 | dx = abs((x1 + w1 / 2) - (x2 + w2 / 2))
5 | dy = abs((y1 + h1 / 2) - (y2 + h2 / 2))
6 | if dx <= w1 / 2 + w2 / 2 and dy <= h1 / 2 + h2 / 2:
7 | return True
8 | return False
9 |
10 | def mouse_move(e):
11 | global x1, y1
12 | x1 = e.x - w1 / 2
13 | y1 = e.y - h1 / 2
14 | col = "blue"
15 | if hit_check_rect() == True:
16 | col = "cyan"
17 | canvas.delete("RECT1")
18 | canvas.create_rectangle(x1, y1, x1 + w1, y1 + h1, fill=col, tag="RECT1")
19 |
20 | root = tkinter.Tk()
21 | root.title("사각형을 사용한 히트 체크")
22 | canvas = tkinter.Canvas(width=600, height=400, bg="white")
23 | canvas.pack()
24 | canvas.bind("", mouse_move)
25 |
26 | x1 = 50
27 | y1 = 50
28 | w1 = 120
29 | h1 = 60
30 | canvas.create_rectangle(x1, y1, x1 + w1, y1 + h1, fill="blue", tag="RECT1")
31 |
32 | x2 = 300
33 | y2 = 100
34 | w2 = 120
35 | h2 = 160
36 | canvas.create_rectangle(x2, y2, x2 + w2, y2 + h2, fill="red")
37 |
38 | root.mainloop()
39 |
--------------------------------------------------------------------------------
/Chapter9/list0908_1.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 |
3 | def key_down(e):
4 | key = e.keysym
5 | if key == "Up":
6 | draw_road(0, -5)
7 | if key == "Down":
8 | draw_road(0, 5)
9 |
10 | BORD_COL = ["white", "silver", "gray"]
11 | def draw_road(di, updown):
12 | canvas.delete("ROAD")
13 | h = 24
14 | y = 600 - h
15 | for i in range(23, 0, -1):
16 | uw = (i - 1) * (i - 1) * 1.5
17 | ux = 400 - uw / 2 + di * (23 - (i - 1))
18 | bw = i * i * 1.5
19 | bx = 400 - bw / 2 + di * (23 - i)
20 | col = BORD_COL[i % 3]
21 | canvas.create_polygon(ux, y, ux + uw, y, bx + bw, y + h, bx, y + h, fill=col, tag="ROAD")
22 | h = h - 1
23 | y = y - h + updown
24 |
25 | root = tkinter.Tk()
26 | root.title("도로 그리기")
27 | root.bind("", key_down)
28 | canvas = tkinter.Canvas(width=800, height=600, bg="blue")
29 | canvas.pack()
30 | canvas.create_rectangle(0, 300, 800, 600, fill="green")
31 | canvas.create_text(400, 100, text="위쪽, 아래 방향키를 눌러 주십시오", fill="white")
32 | root.mainloop()
33 |
--------------------------------------------------------------------------------
/Chapter1/list0105_1.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 |
3 | def mouse_click(e):
4 | px = e.x
5 | py = e.y
6 | print("마우스 포인터 좌표: ({},{})".format(px, py))
7 | mx = int(px / 48)
8 | my = int(py / 48)
9 | if 0 <= mx and mx <= 6 and 0 <= my and my <= 4:
10 | n = map_data[my][mx]
11 | print("여기에 있는 맵 칩은 " + CHIP_NAME[n])
12 |
13 | root = tkinter.Tk()
14 | root.title("맵 데이터")
15 | canvas = tkinter.Canvas(width=336, height=240)
16 | canvas.pack()
17 | canvas.bind("