Microrealms: An adventure game on the mbed platform

Dependencies:   mbed

main.cpp

Committer:
f3d
Date:
2014-12-04
Revision:
0:4da21a20e2c1

File content as of revision 0:4da21a20e2c1:

// 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();
    }
}