Significant imporvements to robot logic and fixed player boundary bug