NerfUS game coordinator for the Nerf gun firing range

Dependencies:   HardwareInterface mbed-rtos mbed

Fork of NerfUS by NerfUS

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers RandomNumberGenerator.cpp Source File

RandomNumberGenerator.cpp

00001 #include "RandomNumberGenerator.hpp"
00002 
00003 int RandomNumberGenerator::get(int min, int max)
00004 {
00005     //TODO: Implement this. For tests, inject a known seed in the constructor
00006     //(instead of "time(NULL)", which we might use in the real app)
00007 
00008     //What abount rand() ?
00009     return 42;
00010 }
00011