![](/media/cache/profiles/fa1fc368935a59b748bec5e15aca97ea.jpg.50x50_q85.png)
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
RandomVar.h@1:527a11035e0b, 2017-11-17 (annotated)
- Committer:
- Oshyrath
- Date:
- Fri Nov 17 02:23:33 2017 +0000
- Revision:
- 1:527a11035e0b
First Publish of the code.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Oshyrath | 1:527a11035e0b | 1 | #ifndef __RANDVAR |
Oshyrath | 1:527a11035e0b | 2 | #define __RANDVAR |
Oshyrath | 1:527a11035e0b | 3 | #include <stdlib.h> |
Oshyrath | 1:527a11035e0b | 4 | #include <stdint.h> |
Oshyrath | 1:527a11035e0b | 5 | int8_t probabilityOfSuccess(float prob); |
Oshyrath | 1:527a11035e0b | 6 | int randomInt(int min,int max); |
Oshyrath | 1:527a11035e0b | 7 | #endif |