click the knight card to start. use arrow keys or WASD to move. press space to hit. The prince will slowly follow you, and if it touches you, you lose. hit the giant to re-spawn it. the giant will go straight to your tower and will do damage when touching it. hit the opponent's tower 5 times to win. It is possible
When you click the knight card the timer starts. There is a high score. (The timer is glitching out so your time keeps going after you win, except if you do beat the highscore it will change). All code by me. Inspiration from clash royale. comment any suggestions or bugs.