NerfUS game coordinator for the Nerf gun firing range

Dependencies:   HardwareInterface mbed-rtos mbed

Fork of NerfUS by NerfUS

Committer:
Ismael Balafrej
Date:
Fri Mar 17 17:19:42 2017 -0400
Branch:
PlayableGame
Revision:
17:48474266a361
Parent:
16:5e6c695468b6
First Commit of PlayableGame

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Maxime Dupuis 16:5e6c695468b6 1 #include "RandomNumberGenerator.hpp"
Maxime Dupuis 16:5e6c695468b6 2
Maxime Dupuis 16:5e6c695468b6 3 int RandomNumberGenerator::get(int min, int max)
Maxime Dupuis 16:5e6c695468b6 4 {
Maxime Dupuis 16:5e6c695468b6 5 //TODO: Implement this. For tests, inject a known seed in the constructor
Maxime Dupuis 16:5e6c695468b6 6 //(instead of "time(NULL)", which we might use in the real app)
Ismael Balafrej 17:48474266a361 7
Ismael Balafrej 17:48474266a361 8 //What abount rand() ?
Maxime Dupuis 16:5e6c695468b6 9 return 42;
Maxime Dupuis 16:5e6c695468b6 10 }
Maxime Dupuis 16:5e6c695468b6 11