Basic Structure to the server for preparation for v2.0 of the server, corresponding to v2.0 with the API, adding modular approach and implementing a database. WORK IN PROGRESS
Fixed some errors and added a better time updating function which uses the database
Change the version to 2.2
Added forever and btoa (base64) as dependancies
Added startGame and listGame, fixed some dependency errors
Added server_time to be send to each request function, timekeeping not actually working for some reason (probably bad use of async)
Removed old server and test from the server folder. No clue how it even got there, should be in folder v1.0
Fixed version response
Fixed Issue #24 (The updateServerTime was not returning anything...)
Added an option to specify custom message, if its not given it will be the default
Only return games where there is an empty slot
Added a function to update the last_move in the game. Should work, but not tested yet
Added an index for secret
Changed the draw on end on 0, change err to er (avoid projects)
added the joinGame function to join games
Changed to using ID to get all data straight from the database
Changed the err to er to avoid conflicts, modified what is send to the client
The index was not actually needed
Object is set to empty when the response is send
Fixed incorrect letter being applied to the player, gameObj is now cleared after the request is sent, the game starts with one more minute of overhead so players can join