Got rotation and victory conditions working