Use the Arrow Keys to move around. Press Z to shoot fireballs at Brobot. If your HP falls below a certain point, a Mushroom will appear which will restore 5 HP.
The 8-bit renditions of "Mr L, Green Thunder" and "Brobot Battle" are made by Tater-Tot Tunes on YouTube. Some sprites were taken from The Spriters Resource.