This project is a simple implementation of Pong in Rust using the Ratatui library for the user interface.
By default the left player is human and the right is the computer, but you can change that using the -l and -r options.
Enjoy playing Pong!
cargo build -r
./target/pong
Use the following controls to play:
- Player 1: 'w' (up), 's' (down)
- Player 2: 'Up Arrow' (up), 'Down Arrow' (down)
- Press 'q' to quit the game.
-
Why?
- Because Pong is a classic.
- Because I wanted to learn Rust and Ratatui.
-
Can I contribute?
- Sure? Feel free to fork the repository and submit pull requests.
This project is licensed under the MIT License. See the LICENSE file for details.