working client grid display
added pixel struct
.gitignore added
first working client connection interface
Initial udp server. Works with alpha c and coffeescript clients.
udp message passing from client to server
finished message handling prototypes with working skeleton code
typedef'ed player_struct
added player_struct linked lists
Added guards to linked_list.h. Moved clients to a linked list.
Added deallocation funtions for game-structs. Moved functions that mutate client state to player.c. Numerous small tweaks.
Added colors.c and colors.h to encapsulate pixel colour generation. Colour generation works on initialization.
Generating random position upon connection.
Reversed x,y coordinates in reading input fields.
Changed pixel struct fields to pointers. Changed insert_list to take a pointer to a player_struct.
Changed files to work alongside struct pointer changes. Fully functional MOVE requests.
Added time attribute to player_structs. Server now saves time of client PONGs.
Malloced all the game-struct attributes.
Added a timeout checking thread. Tweaked linked lists to work alongside time changes and deletion of timedout clients. Added server.h to store linked_list of clients as an extern variable that can be accessed within other threads. This commit has DEBUG printfs a plenty.
Cleaned up severe debugging statements and added comments to timeout additions.