Update collision logic and win variables.