August 2018
Beginner
432 pages
9h 22m
English
Implementing a known real-world game as a digital program with “the computer” as one of the players
Developing a strategy for “the computer”
Inserting a pause
Working with arrays and strings
The two-player game Add to 15 requires players to take turns choosing from the numbers 1 to 9 with the goal of obtaining a set of three numbers that add up to 15. I first saw this game at the Museum of Mathematics in New York City where it was implemented as an apparatus with the numbers on rods that could be moved from the center to the player’s side. ...
Read now
Unlock full access