![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
f
Dependencies: mbed 4DGL-uLCD-SE MMA8452
Diff: main.cpp
- Revision:
- 0:8e3b9bb1084a
- Child:
- 1:d57364f0349f
diff -r 000000000000 -r 8e3b9bb1084a main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Mar 10 05:18:13 2022 +0000 @@ -0,0 +1,45 @@ +//================================================================= +// The main program file. +// +// Copyright 2022 Georgia Tech. All rights reserved. +// The materials provided by the instructor in this course are for +// the use of the students currently enrolled in the course. +// Copyrighted course materials may not be further disseminated. +// This file must not be made publicly available anywhere. +//================================================================== + +// External libs +#include <stdlib.h> + +// Project includes +#include "globals.h" +#include "hardware.h" +#include "graphics.h" +#include "keyboard.h" +// ===User implementations start=== + +void set_random_seed(Timer); + +/* +* This function handles the main logic of the game. You should +* initialize the hardware in this function, make calls to +* functions that update the keyboard and your guess of +* the word. +*/ +int main() +{ +// ===User implementations end=== +} + +// ===User implementations start=== + +/* +* This function sets the random seed for the game. +* It also initializes the keyboard. You may choose to +* put the start screen in here as well. This should be +* called in the main function above. +*/ +void set_random_seed(Timer t) { + +} +// ===User implementations end===