Skip to content
A simple command line game that helps the user memorize the number Pi.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
pi.go

README.md

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!

Instructions

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 -n flag.

go run pi.go -n 10
You can’t perform that action at this time.