![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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
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/
misc.h
- Committer:
- jford38
- Date:
- 2016-03-20
- Revision:
- 0:9d6ea88b6d14
- Child:
- 1:e487713a5231
File content as of revision 0:9d6ea88b6d14:
#ifndef MISC_H__ #define MISC_H__ #define U_BUTTON 0 #define R_BUTTON 1 #define D_BUTTON 2 #define L_BUTTON 3 #define WINNER_P1 0 #define WINNER_P2 1 #define WINNER_TIE 2 // Feel free to adjust any of these values as you see fit. #define WORLD_WIDTH 256 #define WORLD_HEIGHT 256 #define ACC_THRESHOLD 0.20 #define BGRD_COL 0x0F0066 #define FOOD_COL 0xFFFFFF #define P1_COL 0xBB0CE8 #define P2_COL 0xFF0030 #define BORDER_COL 0xFFFFFF #endif //MISC_H__