-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request (yet another) new board type #7
Comments
OK first problem -- this one has nine pieces, while the others have eight. So the match statement in https://www.reddit.com/r/rust/comments/3hfnq6/match_arms_have_incompatible_types_is_there_a/ (Not super familiar with Rust.) |
I don't think I'll support this board by myself because I don't have the puzzle, but pull requests are welcome.
This shouldn't be a problem if you change the array to
It'll require an extra heap allocation, but it's negligible. |
Oh lol. Glad there's such a simple solution. I had gone down a very unhelpful rabbit hole of discussions over whether to allow variable-length arrays in Rust. Anyway, please see #8 I got everything working except the web interface, which runs and shows the options, but doesn't actually return the solution for the correct set. |
Also this is literally my first time coding in Rust, so let me know if anything is deeply wrong in how I've done things. |
It's now available at the page as "Tetromino-type Calendar Puzzle". Thanks @oneillkza for your contribution! |
You're most welcome! |
Related to #3 :
https://puzzleparadise.net/listing/puzzle-calendar-solve-for-each-day-of-the-year-cherry-pieces-and-walnut-border/107535
Maybe if I have some free time I'll take a look at this.
The text was updated successfully, but these errors were encountered: