Use the arrow keys to switch between the box types click space to attack if the box above you is the same type, it'll get destroyed match and click space to gain score 99 score means you win Good luck!
All code by me, inspiration from FnF I coded this entirely during school