This game is pretty easy. When you press Z, the bat moves and when you press M, the dog moves. Whoever gets to the balloon first wins.
I'd like to thank 1901956 for his coding book.