A (failed) attempt to create a reverse algorithm for the 'divide by shape' game mode from 'Dual Brain Vol. 3'
The original algorithm creates ambiguous results, which cannot always be reversed to a distinct starting point.
The (decks)
AAABA
andABAAA
would both result in a left pile ofAA
and a right pile ofABA
.-- Comment by YouTube user ToyKnives
These instructions will get you a copy of this project up and running on your local machine for development and testing purposes.
- Node.js - JavaScript run-time environment
This project is intended to be used with Visual Studio Code and the following extensions are recommended:
- ESLint - Integrates ESLint JavaScript into VS Code
- JavaScript Debugger (Nightly) - An extension for debugging Node.js programs and Chrome
- Prettier - Code formatter using prettier
- Clone this project
- Open the project's root folder in VS Code
- Open the terminal
- Run
npm i
to install all dependencies - Run
npm start
to run the program
- TypeScript - A typed superset of JavaScript that compiles to plain JavaScript
- ESLint - Find and fix problems in your JavaScript code
- ts-node - TypeScript execution and REPL for node.js
- Robin Hartmann - robin-hartmann
This project is licensed under the MIT License - see the LICENSE file for details.
- Special thanks to GameGrumps for the inspiration and being a never-ending source of joy