Skip to content

A implementation of the game Mastermind, done with Kotlin & Micronaut.

Notifications You must be signed in to change notification settings

james-millner/micronaut-mastermind-cli

Repository files navigation

 ___      ___       __        ________  ___________  _______   _______   ___      ___   __    _____  ___   ________   
|"  \    /"  |     /""\      /"       )("     _   ")/"     "| /"      \ |"  \    /"  | |" \  (\"   \|"  \ |"      "\  
 \   \  //   |    /    \    (:   \___/  )__/  \\__/(: ______)|:        | \   \  //   | ||  | |.\\   \    |(.  ___  :) 
 /\\  \/.    |   /' /\  \    \___  \       \\_ /    \/    |  |_____/   ) /\\  \/.    | |:  | |: \.   \\  ||: \   ) || 
|: \.        |  //  __'  \    __/  \\      |.  |    // ___)_  //      / |: \.        | |.  | |.  \    \. |(| (___\ || 
|.  \    /:  | /   /  \\  \  /" \   :)     \:  |   (:      "||:  __   \ |.  \    /:  | /\  |\|    \    \ ||:       :) 
|___|\__/|___|(___/    \___)(_______/       \__|    \_______)|__|  \___)|___|\__/|___|(__\_|_)\___|\____\)(________/  

Introduction

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:

How to play:

There is a Makefile for building and running the application.

Run the following commands:

  1. 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.

About

A implementation of the game Mastermind, done with Kotlin & Micronaut.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published