Oh, now I get it! At first I thought the sword should be given right away, because at one point there were already lots of enemies taking the cookies, and I had no way to fight back!
haha that's okay it's a little misleading because of the control scheme at the bottom of the game window (my mistake). Try to make it to day 4 and you'll see you can finally kill those pesky flies!