ECE 2035 AgarIO MiniProject

Dependencies:   4DGL-uLCD-SE ECE2035_Agar_Shell EthernetInterface Game_Synchronizer MMA8452 SDFileSystem Sound USBDevice mbed-rtos mbed wave_player

Fork of ECE2035_Agar_Shell by ECE2035 Spring 2015 TA

This program is a MiniProject given in ECE 2035. This is to design and program the multiplayer ethernet based AGAR.IO mbed game. Starting code is given by the instructor to aid student to complete the project. It utilize uLCD, Accelerometer, pushbuttons, sdFileSystem, ethernetBreakoutBoard, speaker in mBED LPC1768. It uses the similar concept to the Game http://agar.io/

Revision:
0:9d6ea88b6d14
Child:
1:e487713a5231
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/blob.h	Sun Mar 20 03:38:40 2016 +0000
@@ -0,0 +1,19 @@
+#include "misc.h"
+
+typedef struct blob {
+    float old_x, old_y;
+    float posx, posy;
+    float vx, vy;
+    float rad;
+    int color;    
+    bool valid;
+    bool delete_now;
+} BLOB;
+
+void BLOB_init(BLOB* b);
+void BLOB_init(BLOB* b, int rad);
+void BLOB_init(BLOB* b, int rad, int color);
+
+void BLOB_constrain2world(BLOB* b);
+void BLOB_print(BLOB b);
+float BLOB_dist2(BLOB b1, BLOB b2);
\ No newline at end of file