Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp
00001 // This is an mbed implementation of the microrealms game which was 00002 // originally implemented in C on the LPC810. 00003 // I could have spent lots ot time re-implementing the game in C++ but didn't :-) 00004 // (See http://eleceng.dit.ie/frank/arm/BareMetalLPC810/microrealms/ ) 00005 // It should run on any mbed platform that supports a serial terminal. 00006 // After you download the game, open your serial terminal and hit reset 00007 // on the target processor then play! 00008 00009 /* 00010 Copyright (C) 2014 Frank Duignan 00011 00012 This program is free software; you can redistribute it and/or 00013 modify it under the terms of the GNU General Public License 00014 as published by the Free Software Foundation; either version 2 00015 of the License, or (at your option) any later version. 00016 00017 This program is distributed in the hope that it will be useful, 00018 but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 GNU General Public License for more details. 00021 00022 You should have received a copy of the GNU General Public License 00023 along with this program; if not, write to the Free Software 00024 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00025 */ 00026 00027 00028 00029 00030 #include "mbed.h" 00031 #include "realm.h" 00032 00033 00034 int main() { 00035 00036 00037 while(1) { 00038 runGame(); 00039 } 00040 }
Generated on Thu Jul 21 2022 10:42:25 by
1.7.2