ANPetru / Mastermind

Mastermind game in golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mastermind

Mastermind game for command line made in Go.

Index

1. About

2. Demo

3. How to play

Mastermind (also known as Bulls and Cows) is a guessing game.

A number of 4 digits is randomly generated, and the player has to guess it. Each turn the player guesses a number, and it's shown how many number where guessed in the same position, and how many in a different position.

Example

Secret number: 7612

Guessed Number: 1682

Numbers at same position: 2

Numbers at different position: 1

Demo Gameplay

Download this project and extract it in your folder of choice.

Linux

Go to Platforms/Linux in the command line and run ./mastermind.

Windows

Open Platforms\Windows in the file explorer and run mastermind.

About

Mastermind game in golang


Languages

Language:Go 100.0%