My solution to the mixed messages

Het all, this is my solution to the mixed messages project. It might be a bit too simple but it might expand in the future.
In all honesty… it was a bit hard to learn the basic setup, but once I got it going, it was only 2 hours coding to manage it to work.
Side note; theres such a jolt once you manage to push your code from VS into git usong commands; might sound dumb but for me, being a newbie it was such a surprise.

Here is the link

We hope you enjoyed this project!

First of all, well done :slight_smile:

I would like to point out that your random number generator could generate 22:

for (let i = 0; i< 100000; i++){
  let num = Math.floor(Math.random() * 23)
  if (num === 22){
      console.log(i, 22);
      break;
    }
}

and I don’t see 22 in your switch statement?

You are right, I gotta fix that, since 0 makes for The Fool it made me count wrongly. Thanks for pointing that out!