Skip to content

carmiac/term_pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

Build and Run

cargo build -r

./target/pong

Controls

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.

FAQ

  • 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.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A simple version of pong playable in a terminal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages