Working version - pb with gameplay and wall collisions