a simple game of pong written in TypeScript