Added scoring and collision logic