The classic dueling tanks game for mbed.

Dependencies:   4DGL-uLCD-SE DRV2605 EthernetInterface Game_Synchronizer MMA8452 SDFileSystem SparkfunAnalogJoystick mbed-rtos mbed wave_player

Fork of 2035_Tanks_Shell by ECE2035 Spring 2015 TA

Revisions of main.cpp

Revision Date Message Actions
28:8dbb85f35be6 2017-03-13 Classic dueling tanks game for bed. File  Diff  Annotate
27:bd55ab4d137c 2015-10-30 Added a folder for sound. Clarified the role of globals.h File  Diff  Annotate
24:2100c9e8ec81 2015-10-30 Final final final final final. Never looking at this again. Until I find something else to change :) File  Diff  Annotate
23:77049670cae6 2015-10-30 Final final final version. Maybe. For now. Ugh. File  Diff  Annotate
22:3c68eea5a609 2015-10-29 The Shell for students to fill in to play their tanks game. File  Diff  Annotate
21:edfeb289b21f 2015-10-29 Final Version (I hope). Gonna start stripping out the code to make the shell I reckon. File  Diff  Annotate
20:6a58052b0140 2015-10-29 Updated to use separate functions to get button data and accelerometer data separately. File  Diff  Annotate
19:7aa3af04d6a8 2015-10-28 Finished! I think. Haha :D File  Diff  Annotate
18:18dfc9fb33b5 2015-10-28 Most things working! Multi-player and single-player working with accelerometer x controlling the tanks and y controlling the gun. Uses the down button to fire. File  Diff  Annotate
17:7bc7127782e4 2015-10-28 Works with updates to game synchronizer. The synchronizer now contains buttons/accelerometers. File  Diff  Annotate
16:b73f0842d3cd 2015-10-27 Just making sure it's still up to date on the TA group. File  Diff  Annotate
15:4b27a3a95772 2015-10-26 Updates. Idk. Leave me alone. It's late. File  Diff  Annotate
14:36c306e26317 2015-10-26 Split things into multiple files. Working pretty well now! File  Diff  Annotate
12:088a8203a9bb 2015-10-25 All kinds of stuff. Basically, things explode when you hit them now, and tanks can't drive through side of the screen. File  Diff  Annotate
11:f455e907baba 2015-10-23 Working gun barrels and driving tanks File  Diff  Annotate
10:5da9b27e050e 2015-10-23 Draws tanks! And terrain and junk. Idk. I'm tired. File  Diff  Annotate
9:ee330b1ba394 2015-10-22 Added game_init() to set up buttons & leds (and eventually other stuff); Added game_menu() to display a splash screen and ask whether to play in single- or multi-player mode.; Fixed a bug in background_color(). File  Diff  Annotate
8:e6dd05393290 2015-10-22 Done for tonight. Tired. Right now the student side can run independently in single-player mode. The student side LEDs also turn on when you push the buttons on either side. Started some timing stuff. Didn't get far. File  Diff  Annotate
7:9506f2d84162 2015-10-22 Now contains a switch for single vs. multiplayer modes. ; At the beginning of the game, the master must select the play mode. File  Diff  Annotate
6:3be57cf4bd33 2015-10-22 Split game synchronization code into separate .h and .cpp files. Also renamed to "game_synchronizer.h" and "game_synchronizer.cpp" File  Diff  Annotate
5:cfec780c935b 2015-10-15 Working graphics commands on LCDs.; circle, line, triangle, filled_circle, filled_rectangle, rectangle, etc.; ; pen_size() seems to kill the LCD's. Don't know why. Probably just gonna exclude it. File  Diff  Annotate
4:d8bd8b41468d 2015-10-15 Working without LCD's. Going to add uLCD's now. File  Diff  Annotate
3:3ddefff03cb2 2015-10-12 Done for the night. Working TCP connection! printf substitutes for actual LCD commands don't seem to be working. Will figure it out tomorrow :D File  Diff  Annotate
2:c358ad9aedc4 2015-10-12 Last commit with UDP. Switching to TCP. File  Diff  Annotate
1:0589ea36661b 2015-10-07 2-Player game via Ethernet. First try. File  Diff  Annotate
0:899c85cd266f 2015-10-06 Working Player1 Demo. Uses print statements in lieu of the LCD (Don't have two LCD's yet.); Doesn't have two-way communication yet. Currently, P2 can only receive from P1 but can't send anything back. File  Diff  Annotate