I guess that's not a bug but a feature, it has to do that to be able to handle some situations (e.g. a week where all days have more contributions than the "level" it's currently eating would block it from getting to the other side of the "playfield"). Still, there probably are some situations where it can't reach all the dots?
Access to fetch at 'https://snk-one.vercel.app/api/github-user-contribution/gith...' from origin 'https://platane.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Anyway, fun experiment.
[1] https://github.com/Platane/snk/blob/main/packages/solver/REA...
Deleted Comment
Access to fetch at 'https://snk-one.vercel.app/api/github-user-contribution/gith...' from origin 'https://platane.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
It seems like the traffic from HN eats my quota pretty fast!
Dead Comment
Deleted Comment
Deleted Comment