Update relative coords of pieces so that algorithm works with one field #1

Closed
opened 2023-10-16 20:49:16 +02:00 by felixm · 0 comments
Owner

The offset of some pieces are so, that iterating over the fields in order does not work.

We use this line to work around that:

for empty_coord in &field.empty_coords.as_slice()[0..2] {

Note that it takes two coords. This should not be necessary if the offsets are correct.

The offset of some pieces are so, that iterating over the fields in order does not work. We use this line to work around that: for empty_coord in &field.empty_coords.as_slice()[0..2] { Note that it takes two coords. This should not be necessary if the offsets are correct.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: felixm/talos_solver#1