
The first will be an index which represents which colour part we are using in the colours array. We’ll define the function with three parameters. It will be used for when the player selects a colour and when Simon is playing back a pattern or showing that we won or lost. To start off we’ll work on our function that shows a colour has been selected. Thus, functions we will need are as follows:

You are by no means forced to use the exact model hierarchy that I use, but it’s important that you have an idea of where my script is in relation to what. The only thing I’ll be going into this with is the model I made for Simon.

Numeric for loops and dictionary iteration.We will be going over how we can make our very own game of Simon says!īefore you start reading this post I recommend you brush up on a few things if you aren’t familiar with them already. Today’s post is instead going to be aimed at those of you who are newer to the platform, and are looking for a project to practice your skills on. Most of the posts that I make tend to be very mathematical and aimed at experienced developers. The original can be found here.įorgot to post this one to the devforum so here ya go! This guide was originally written for scriptinghelpers.
