Converted indentation to spaces
updated game logic
added server, started on api