I'm quite new to Java FX and now I'm trying to build the game mastermind. I've tried multiple ways to create the game but the start doesn't even work. I have the layout of the game. I have six colors to choose. When I press one color all the four circles change color while only one should change.
I hope someone can put me in the right direction.