Restore changes from commits 7924f10, 2d8dc4c, 49bd0ea reverted in 184f955.

- 7924f10 Update minesweeper and tile-puzzle to use new replicated
  random function
- 2d8dc4c Fix activeCamera and camera.lookAt static ID references.
- 49bd0ea Fix static ids in humvee and minesweeper. Fix shuffled array
  out of sync problem in minesweeper and tile puzzle.

- 184f955 added ambientColor to the tile-puzzle and the minesweeper

Fixes #1532.
Remove unnecessary time check.

It was there to support a pre-replicated-random workaround.