18 lines
375 B
C++
18 lines
375 B
C++
#include "src/debugger.hpp"
|
|
#include "src/game_manager.hpp"
|
|
#include "src/randomiser.hpp"
|
|
#include "src/yl3.hpp"
|
|
|
|
Input* input;
|
|
Randomiser* randomiser;
|
|
GameManager* game;
|
|
|
|
void setup() {
|
|
initDebug(9600);
|
|
YL3::initDisplay();
|
|
input = new Input();
|
|
randomiser = new Randomiser(analogRead(0));
|
|
game = new GameManager(input, randomiser);
|
|
}
|
|
|
|
void loop() { game->loop(); }
|