官术网_书友最值得收藏!

Summary

In this chapter, we learned about PyGame and its capabilities. We also learned how to build a binary fractal tree with random branches.

Furthermore, we built a snake game and used it to gain further experience in programming games using PyGame. You can also modify the game to gain any additional features you like.

Using these examples as an inspiration, you can also try to build games of your own. You can combine your knowledge of the chapter on Minecraft to build your own simple Minecraft clone!

In the next chapter, we will learn about the basics of Pi Camera and its webcam and how to capture images using them. We will also build some real-life examples using the Python language.

主站蜘蛛池模板: 商都县| 大足县| 八宿县| 阿拉善右旗| 内乡县| 新野县| 当涂县| 大渡口区| 甘泉县| 隆回县| 三明市| 鄂州市| 集贤县| 灵川县| 池州市| 来宾市| 格尔木市| 绵阳市| 洪江市| 镇宁| 雅江县| 凤山市| 弋阳县| 林州市| 普洱| 定结县| 米易县| 泸西县| 兰州市| 六枝特区| 潮安县| 庆元县| 北票市| 阿尔山市| 乾安县| 芒康县| 治县。| 阿拉善盟| 宁城县| 临夏县| 芜湖县|