You are pac-man. Pac-Man will always go to your mouse. Every time you get hit by the ghost, you lose 10 health (bottom display). Every time that you eat a little box-dot, you gain 1 point. Space key to open the shop. Point display is top (rainbow). The middle display (purple) shows energy. You gain energy by eating box-dots. You lose energy every second.
Please heart and star! All code and sounds by me.