Skip to content

AlexandruGG/rusty-pong

Repository files navigation

Rusty Pong

A two-player version of the classic game Pong, written in Rust using the Tetra framework.

Installation

Requirements: macOS (pre-M1), linux.

macOS -> unzip pong_release.zip and follow the instructions in install_readme.txt

linux -> requires compilation via cargo (sorry!):

  1. install cargo (comes packaged with Rust): https://www.rust-lang.org/tools/install. Note: make sure your PATH is updated if not done automatically
  2. follow the instructions in install_readme.txt to install the SDL 2.0 dependency
  3. run ./release.sh which will build and package a release version as pong_release.zip
  4. unzip pong_release.zip and play by running ./pong

Controls

Move paddle up-down -> Player 1 "W" - "S", Player 2 "UP arrow", "DOWN arrow"
Exit -> Escape

Tips

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

Resources

About

A Rust two-player version of the classic game Pong

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published