inticoy/so_long

collectable block sprite

Closed this issue · 1 comments

mod 6
remaining 0, 5 -> 0
remaining 1, 4 -> 1
remaining 2, 3 -> 2

((5-0)^2 + (5-5)^2) / 8 = 3
((5-1)^2 + (5-4)^2) / 8 = 2
((5-2)^2 + (5-3)^2) /8 = 1