This is a basic tag game. Player 1 (cat) uses the arrow keys to move, while Player 2 (Duck) uses WASD to move, and drain the cat's turns ("lives") before the timer runs out. If Player 1 is still "alive" when the timer runs out, he/she wins, and the duck loses. Otherwise, Player 2 wins.
Thanks to my classmates: untamedwolfy16158 drobot567 Giancarlo Perez Nicholas Chen-See