/rock-paper-scissors

Rock paper scissors command line game

Primary LanguageGo

rock-paper-scissors

Rock paper scissors command line game written in golang

How to run

  1. Clone the repo and cd into the golang-rock-paper-scissors directory
  2. go build - this will create an executable rock-paper-scissors file. Note this project uses go modules for dependency management...make sure you have go 1.12 or above.
  3. ./rock-paper-scissors will start the game
  4. go run main.go can be run instead of steps 2 and 3