Mastermind

A classic logic game implemented in ScalaJS. Can you crack the code?

This is a classic Mastermind game implemented using ScalaJS and Tailwind CSS. It was originally built as an experiment in bringing strongly-typed functional programming to the browser.

How to play

  1. The computer picks a hidden sequence of 4 colored pegs.
  2. You have 10 attempts to guess the sequence.
  3. After each guess, you get feedback:
    • Black peg: Correct color in the correct position.
    • White peg: Correct color in the wrong position.
uptime:ok biswa.info