/pong-rs

A simple game written in Rust using the GGEZ library. It's a personal project to learn Rust and core game development concepts.

Primary LanguageRustMIT LicenseMIT

🧶 pong-rs

Pong-rs is a simple game written in Rust using the ggez library. It's a personal project to learn Rust and core game development concepts.

Controls:

  • Player 1 (Left Paddle):

    • W: Move the paddle up
    • S: Move the paddle down
  • Player 2 (Right Paddle):

    • Up: Move the paddle up
    • Down: Move the paddle down
  • Space key starts the game.

  • Escape Key quits the game.

Requirements

  • Rust installed on your machine.

Usage

Building

To build the project, use the following command:

cargo build

This will compile the project and generate the executable in the target/debug/ directory.

Running

To run the project, use the following command:

cargo run

This will execute the default target.

Contributing

If you'd like to contribute to this project, follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and submit a pull request.

License

This project is licensed under the MIT License.