fixed game states, server task to serve base directory instead of assets directory