basic game backend done