Arrow keys to move. Click 1 to switch to red, 2 for blue, and 3 for yellow. In the yellow mode, click space to shoot. There may be a few bugs, so it isn't perfect.
Credit to Toby Fox for making Undertale. This ENTIRE project was made from the ground up, so credit to me as well.