If it wasn't for Javascript, that kind of game should have been able to run on a 2Mhz 8086 and 640kb of RAM.
We do need to scale based on screen size though - copying pixels around is expensive.
But a low-end machine from 10 years ago should be mandated for all developers.