A brute force solver for pyramid solitaire written in javascript.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Adam Piontek 98909d2296 updated mocha dependency 9 months ago
.gitignore Added unit tests 4 years ago
README.md Fixed grammar 4 years ago
package-lock.json updated mocha dependency 9 months ago
package.json updated mocha dependency 9 months ago
solver.js Added unit tests 4 years ago
test.js More solvable games 4 years ago

README.md

javascript-pyramid-solitaire-solver

A brute force solver for pyramid solitaire written in javascript.

You can see it in action on my website:

  1. Enter the string "4C 8C 6S 7H 4D 6C 8S JH 2S 8H 4H KC AS 6H KD 7D JS TH AH 8D 9D AD 9S QS 7S TC 2D 5C 2C 9C TD 5S QC AC KH 9H 3C 7C 3S 3H 2H JD 5H 4S 6D QD 3D KS QH JC TS 5D" into the textfield.
  2. Click "import"
  3. Click "solve"

Notes

This is probably quite a poor implementation. Please don't fault me, I am teaching myself javascript.