Use the keys W, A, S and D in different combinations to slash the shadow monsters but do not attack to much because the your vision will worsen but if you stand or gather light orbs you will se again. Attack mode A attacks fully from the ninjas perspective. Attack mode B attacks a little more from the players perspective instead. Walk mode A walks towards the cursor when you press space Walk mode B walks automatically and stops when you press space. The simplest attacks: The forward slash (W) attacks forward and is very accurate but is weak. The left (A) slash has descent strength but can be hard to aim The right (D) slash is basically the same as the left slash but is the opposite direction.
Special thanks to https://scratch.mit.edu/users/erikreegisteel_11/ https://scratch.mit.edu/users/uyubwabwa/