3D minesweeper

For the last couple of days I have been working on a 3D minesweeper game.
So far, the focus has been on getting the gameplay to work. So the graphics and navigation has been neglected a bit until now.
If you would like to try the game you can download it here
3dminesweeper.zip (309 KB)
the game looks something like this:

Open the console before you start the game, as messages will be printed here.
You navigate the scene by holding down the MMB and dragging the mouse.
When you click a sphere 3 things can happen:

  1. You hit a mine, console prints “Game Over”
  2. The sphere is next to a mine and gets a color according to how many mines it is close to(green = 1, yellow = 2, red = 3, pink = 4, blue = 5, white >5)
  3. The sphere is not next to a mine and will automatically click all neighbor spheres.
    Let me know what you think!