Learn and use Python and Py Game to design and build cool arcade games. In Program Arcade Games: With Python and Py Game, Second Edition, Dr. Paul Vincent Craven teaches you how to create fun and simple quiz games; integrate and start using graphics; animate graphics; integrate and use game controllers; add sound and bit-mapped graphics; and build grid-based games.
After reading and using this book, you’ll be able to learn to program and build simple arcade game applications using one of today’s most popular programming languages, Python. You can even deploy onto Steam and other Linux-based game systems as well as Android, one of today’s most popular mobile and tablet platforms.
You’ll learn:
- How to create quiz games
- How to integrate and start using graphics
- How to animate graphics
- How to integrate and use game controllers
- How to add sound and bit-mapped graphics How to build grid-based games
Audience<
This book assumes no prior programming knowledge.
Table des matières
0. Before Getting Started.- 1. Create a Custom Calculator.- 2. What is a Computer Language?.- 3. Quiz Games and If Statements.- 4. Guessing Games with Random Numbers and Loops.- 5. Introduction to Graphics.- 6. Back to Looping.- 7. Introduction to Lists.- 8. Introduction to Animation.- 9. Functions.- 10. Controllers and Graphics.- 11. Bitmapped Graphics and Sound.- 12. Introduction to Classes.- 13. Introduction to Sprites.- 14. Libraries and Modules.- 15. Searching.- 16. Array-Backed Grids.- 17. Sorting.- 18. Exceptions.- 19. Recursion.- 20. Formatting.- 21. Labs.-Appendix A. Example Code and Programs.- 23. Appendix B: Sample Tests.- 24. Appendix C: Worksheets.- 25. Appendix D: Version Control.- 26. Appendix E: Wait, What Else Can We Do?.
A propos de l’auteur
Dr. Paul Vincent Craven graduated with a bachelors degree from Simpson College, a masters from the Missouri University of Science and Technology, and a doctorate from the University of Idaho. He worked in the industry for fifteen years before deciding to teach full time at Simpson College in Indianola, Iowa.