knexer / auto-puzzler

A simple game about writing code to assist in solving puzzles, built to learn React.
0 stars 0 forks source link

Autoclick interval does too many things #7

Closed knexer closed 1 year ago

knexer commented 1 year ago

Now that the autoclicker is interacting directly with mutable state, it can do multi-step logic in a single tick if it happens to process the squares in the right order for that.

We could have it read from a snapshot and write to the mutable state, instead. Which is an interesting path to go down, as it opens the door to automatically detecting where rules should re-run!