Initial version of obstacle detection completed. How players move re-written.