This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JavaFX and the fly likes Mastermind game Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Mastermind game" Watch "Mastermind game" New topic

Mastermind game

gram mal

Joined: Feb 27, 2012
Posts: 1
Hello everyone,

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.
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3068

Welcome to JavaRanch,
What have you tried so far in the code? ItDoesntWorkIsUseless

Mohamed Sanaulla | My Blog
I agree. Here's the link:
subject: Mastermind game