Use the arrow keys to dodge shurikens. Press the arrow key in the direction you want to dash then press D.
Credit to Undertale and cooltext