Tuesday, December 1, 2020

User

 Still thinking about what was assignment 1 in the 

Games course: adding code so that the user is playing

against the computer.


The clever code below takes us to randomized code

that gives the user a chance. But the user qua player

wants to be rewarded for his efforts. An actual player expects 

to score on an opponent he has tired out. A virtual game

player wants to win if he has been quick, or enduring.

What would that code look like...





No comments: