🐷
A game of Pig
Exercise: Solve this problem in Go. Write code and test cases too.
Labels: Beginner
Time to complete: 1-2 days
What will you learn: math/rand, for loops, conditionals, accepting input from cli, declaring struct and its methods, fmt package, using flag or cobra for building CLIs