Go Memorize Pi
This was the result of having a little fun on Pi Day 2016. It's a simple command line game that helps the user memorize the number Pi. The application starts you at the number three, then invites you to guess the next digit in the sequence. If you can recite the first 50 decimal places of Pi, you win. Enjoy!
To play the game, download the repository, navigate to the directory, and issue the following command.
go run pi.go
If you prefer, you can also use
go build or
go install to build the game as an executable.
Command Line Parameters
To set the number of digits you're trying to reach, use the
go run pi.go -n 10