playing.cli.play

Play an interactive Nim Game in the CLI

playing.cli.play.playCLI() None[source]

Play one interactive game

Create random heaps first. Then, get the user to select who to start. Player and Computer take turns until the game ends. Computer will make good or bad decisions based on the error rate set in the instance attribute.