Game logic implemented. Deleted unnecessary members.