by simpaticoder · 2y ago · 0 comments
The next project I'd like to see from him (assuming he's not serious about quitting!) is the use of checkboxes to represent the layout of RAM in a simplified computer, and the state of a CPU registers and pc, such that the grid represents an input and a sequence of binary-encoded instructions. Might be simpler to define your own architecture, or pick a simple one like ARM. Using this, implement a simple, ideally recursive, algorithm like finding the gcd of two inputs. (Hopefully the state is actually stored in the checkboxes and not just treated as a rendering of some other more conventionally modeled internal state, such that if you slowed down execution and started clicking you'd get...interesting results.)
No comments yet.