Home

Awesome

Proof of concept / work in progress, has glaring issues

infinite-monkey-incremental monkey

A toy project I'm working on to learn Elm.

The infinite monkey theorem states that a monkey hitting keys at random on a typewriter for an infinite amount of time will almost surely type a given text, such as the complete works of William Shakespeare.

It's an incremental game where you buy monkeys that type random letters into typewriters. As they accidentally spell words, you win cash that you can use to upgrade or buy more monkeys.

screenshot

TODO

Notes to self

Build

For development:

Start local server:

python -m SimpleHTTPServer 5000

Build index.html and elm.js:

npm run build

Navigate to http://localhost:5000.

For production:

git checkout --orphan gh-pages
npm run build
rm .gitignore
git add index.html public elm.js
git commit -m 'Build'
git push origin -f