Frank Duignan
/
Nucleo_microrealms
Microrealms: An adventure game on the mbed platform
Diff: main.cpp
- Revision:
- 0:4da21a20e2c1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Dec 04 14:17:50 2014 +0000 @@ -0,0 +1,40 @@ +// This is an mbed implementation of the microrealms game which was +// originally implemented in C on the LPC810. +// I could have spent lots ot time re-implementing the game in C++ but didn't :-) +// (See http://eleceng.dit.ie/frank/arm/BareMetalLPC810/microrealms/ ) +// It should run on any mbed platform that supports a serial terminal. +// After you download the game, open your serial terminal and hit reset +// on the target processor then play! + +/* +Copyright (C) 2014 Frank Duignan + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +*/ + + + + +#include "mbed.h" +#include "realm.h" + + +int main() { + + + while(1) { + runGame(); + } +}