Giter VIP home page Giter VIP logo

a-puzzle-a-day-solver's Introduction

A-Puzzle-A-Day Solver

A solver of DragonFjord's A-Puzzle-A-Day and similar puzzle(s) like this one with tetrominoes.

The web version of this tool is available here.

The solver's algorithm is implemented in Rust and its code is compiled to WebAssembly to run on browsers.

Note that this is my personal hobby project and has nothing to do with the authors of the puzzles or my employer.

For Developers

Requirements

CLI

$ cargo run -p a-puzzle-a-day-cli -- --month Jan --day 1

Use --help flag for advanced usages.

Web App

Build

$ npm install # only once
$ npm run build # Build

Run Dev Server

$ npm run serve

a-puzzle-a-day-solver's People

Contributors

keiichiw avatar mberneis avatar oneillkza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

a-puzzle-a-day-solver's Issues

Hint system

I agree that getting the solution can ruin the fun of the game, but sometimes you've been stuck for a long time and it can get frustrating. It would be nice to have something in between getting the full solution and nothing at all.

I propose a second button, called "Hint", which places the solution pieces one by one. That way I can maybe get a single piece hint, then try solving the rest myself.

Code wise, I see you get the pieces in numbered form. Each press of the button would just go through the list and render the next number. Although that means the first hint will always be the same piece. Maybe it would be nicer to instead have a shuffled list of numbers and use that to get a random order every time.

Request to remove a link

Hello! We love your A-Puzzle-A-Day solver! We are the inventors of A-Puzzle-A-Day, and very happy you have put a link to our DragonFjord page (www.dragonfjord.com).

We have several international patents on the design: WIPO DM/215118; EUIPO 007690433, which has helped slow the flood of copycat designs filling the market. We see you have put a link to one of these copiers alongside the link to our original, and wonder if you could remove this link? This is company that is knowingly copying our original design with no credit and claiming it is their own.

Thank you!

Specific day/puzzle solver url

I notice you always prefill the calendar solver with today's date and the dragon calendar. would it be possible to make an endpoint to choose which values to prefill on the url? that way I would for example be able to always land on today's weekday puzzle?
This would also allow for an easy addition to create a next/previous day button on the site.
Would you be open to me adapting the code to do this if you don't have the time?

Feature Request - New Board Type

A new type of puzzle a day has shown up that includes the day of the week. It uses all 9 of the previously defined pentominoes with the addition of the line tetromino. It continues the grid past day 31 to include the 7 weekdays but puts the last three on the bottom right instead of wrapping around.

I can't find information on the original creator, but it has appeared on a plethora of different websites.

The additional piece should be easy to add, but the new board type and third target would take a bit of code re-work I believe.

how to

--Hi,

your tool is a fascinating job and i want to know how you find all the soluces ?
Which is the mathematical method ?

thank you --

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.