This code contains the game Starship designed for the STM32F429i-DISC1 board. It requires a keyboard to play.
Dependencies: Starship LCD_DISCO_F429ZI USBHost mbed
Diff: RandomVar.h
- Revision:
- 1:527a11035e0b
diff -r c9afe145b57b -r 527a11035e0b RandomVar.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RandomVar.h Fri Nov 17 02:23:33 2017 +0000 @@ -0,0 +1,7 @@ +#ifndef __RANDVAR +#define __RANDVAR +#include <stdlib.h> +#include <stdint.h> +int8_t probabilityOfSuccess(float prob); +int randomInt(int min,int max); +#endif \ No newline at end of file