r/purescript • u/Thimoteus • Dec 25 '15
The world's simplest incremental game
https://gist.github.com/Thimoteus/7b53aa8de6476b931fe6
4
Upvotes
r/purescript • u/Thimoteus • Dec 25 '15
1
u/Thimoteus Dec 25 '15
Originally I was building this with
purescript-signalandpurescript-reactbut I had a weird bug where sometimes the signal for manual clicking and the signal to autoclick every second would conflict somehow, and instead of state.clicks going up by 2, nothing would happen.So I rewrote up to this part with Halogen, which is the minimal amount needed to convince myself that the same thing wouldn't happen. So far, so good!