___ ___ __ ________ ___________ _______ _______ ___ ___ __ _____ ___ ________
|" \ /" | /""\ /" )(" _ ")/" "| /" \ |" \ /" | |" \ (\" \|" \ |" "\
\ \ // | / \ (: \___/ )__/ \\__/(: ______)|: | \ \ // | || | |.\\ \ |(. ___ :)
/\\ \/. | /' /\ \ \___ \ \\_ / \/ | |_____/ ) /\\ \/. | |: | |: \. \\ ||: \ ) ||
|: \. | // __' \ __/ \\ |. | // ___)_ // / |: \. | |. | |. \ \. |(| (___\ ||
|. \ /: | / / \\ \ /" \ :) \: | (: "||: __ \ |. \ /: | /\ |\| \ \ ||: :)
|___|\__/|___|(___/ \___)(_______/ \__| \_______)|__| \___)|___|\__/|___|(__\_|_)\___|\____\)(________/
This small project was inspired by the Leeds Code Dojo (https://www.meetup.com/Leeds-Code-Dojo/) and their most recent event, the Mastermind Coding Kata evening hosted at Sky Betting & Gaming.
The goals of the evening were simple:
- Have fun
- Pair Program
- Learn something new!
- Create some logic that simulated the game Mastermind
My original attempt for this challenge on the evening can also be found on github, which was a collaboration between myself, Zahir Ahmed & Sep Russell. (https://github.com/james-millner/Mastermind)
After the event I thought I'd spend a little more time on the challenge and do some refactoring, generally playing around with some more code! Which lead to the creation of this repository.
This solution has been created in Micronaut, as an intended CLI tool to play Mastermind.
For reference see:
- Micronaut (https://micronaut.io)
- Micronaut CLI (https://docs.micronaut.io/1.2.0.RC1/guide/index.html#picocliGenerateProject)
There is a Makefile for building and running the application.
Run the following commands:
make build-and-run
- this will clean, package and run the application
For further commands available please consult the Makefile, in the root of this repository.