A two-player version of the classic game Pong, written in Rust using the Tetra framework.
Requirements: macOS (pre-M1), linux.
macOS -> unzip pong_release.zip
and follow the instructions in install_readme.txt
linux -> requires compilation via cargo (sorry!):
- install cargo (comes packaged with Rust): https://www.rust-lang.org/tools/install. Note: make sure your PATH is updated if not done automatically
- follow the instructions in
install_readme.txt
to install the SDL 2.0 dependency - run
./release.sh
which will build and package a release version aspong_release.zip
- unzip
pong_release.zip
and play by running./pong
Move paddle up-down -> Player 1 "W" - "S", Player 2 "UP arrow", "DOWN arrow"
Exit -> Escape
- try winning without letting your opponent score a single point!
- try changing settings for paddle and ball spin and acceleration in
settings.rs
to give the game a different feel!
- built using the Tetra 2D game framework
- assets (textures, sound effects) kindly provided for free by https://www.kenney.nl/