Random Generator

  • Amphealy
    2nd Nov 2011 Member 0 Permalink
    So, I made this little memory game that uses a 6 digit random number. However, the generation is very slow. Anyone have any ideas on how to improve the generation of the number?


  • cctvdude99
    2nd Nov 2011 Member 0 Permalink
    @Amphealy (View Post)
    Nice, but as people are complaining about having to enter numbers slowly, you should add a sign saying "Wait until tick or cross is showing before entering the next number", however, as you are probably short on signs, try drawing the text neatly.
    So yeah, other than the speed, very nice. +1
  • Amphealy
    2nd Nov 2011 Member 0 Permalink
    I'll do better. I'm going to give the keypad memory which will store 6 key presses. The keypad will then be locked out. The keypad memory will be read instead of the keystrokes. I think this will allow for much faster entering of the codes. If that works I will even put in a timer to force fast entry. Only problem is I don't have time to do that now. So will look at it later on. For now I will do as you suggest with a sign stating wait for the tick or cross between key strokes.