Record your modifications to a 2d map and play them back.
No-Library (pure JS), HTML, CSS, JavaScript