This is a rewrite of the game Pong for the ESP32 microcontroller board.
The game code is based on this JavaScript implementation.
Also the aim of this rewrite was to test the WiFi capabilities of the board and to make a proof of concept on my first attempt at a networked real-time game.
The networking code is using WiFi and TCP but it is more or less separated as I intend to explore a Bluetooth version of the game as well. Optimizations on WiFi could also include an UDP based implementation (help is welcome).
Just download or clone from github.
Download PlatformIO, plug in your board to your computer and run pio run -t upload.
Please feel free to modify and improve anything you want. I am also open to improvements especially in the network code.