Python Tutorial v3.2.5 Lesson 19.2 - Rock Paper Scissors Development (2 of 2)

preview_player
Показать описание
2:41 Skip directly to the start of developing the main game function.

Lesson 19.2 does not introduce any new concepts to programming. Rather, Lesson 19.1 (and Lesson 19.2) traces the development, testing, and implementation of a small Rock, Paper, Scissors game. Modular arithmetic is used to determine a winner, making a game that will scale to easily accommodate more options in the future. The skills practiced in this lesson will be used in a future project.

This is an introductory series of Python tutorials. This course, from start to finish, is designed to help someone who has never programmed before learn the basics of coding in Python. As this series continues, we examine more advanced Python techniques, functions, and methods.

Keep in mind this tutorial is using an older version of Python, v3.2.5. You will need to click on the "View Older Releases" button to use this specific version. Using the newer versions will not be an issue at this point, but when the lesson proceeds to basic graphics, the Pygame Module we'll use does not support v3.3+ at this time.
Рекомендации по теме
Комментарии
Автор

I made a small adventure game that has Rock-paper-scissors in it. But I wasn't able fix a bug where the player enters a string value. Everytime I try fixing it, the formula ([player-computer]%3) gives an error.

ERKEK
Автор

i try this but the string value dosent work

alfieking