Skip to content

[译] [1005] 本章小结 #23

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
cssmagic opened this issue Feb 29, 2024 · 0 comments
Open

[译] [1005] 本章小结 #23

cssmagic opened this issue Feb 29, 2024 · 0 comments

Comments

@cssmagic
Copy link
Owner

Summary

本章小结

  • Games have a common program flow that includes game setup and gameplay.
  • Randomness is an important ingredient of many games.
  • We can add randomness to our Python games by using functions in the random module.
  • We can implement games with Copilot using the same workflow that we’ve used throughout the book, with problem decomposition playing a key role.
  • 所有游戏都遵循一种共通的程序流程,包括游戏的设置和玩法。
  • 随机性是众多游戏不可或缺的一部分。
  • 我们可以通过使用 random 模块中的函数,在我们的 Python 游戏中添加随机性。
  • 我们可以利用本书中一贯采用的工作流程,通过 Copilot 来实现游戏的开发,问题分解在此过程中扮演关键角色。
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant