Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/blindspot22/rusty_pong

Pong Game written fully in Rust.
https://github.com/blindspot22/rusty_pong

game pong pong-game rust rust-lang

Last synced: 4 days ago
JSON representation

Pong Game written fully in Rust.

Awesome Lists containing this project

README

        



hqdefault

# Rusty Pong

Rusty Pong is a simple implementation of the classic game Pong using the Rust programming language and the ggez game framework.

## Description

Rusty Pong features two paddles controlled by players and a ball that bounces between the paddles. The objective of the game is to score points by hitting the ball past the opponent's paddle. The game keeps track of each player's score and displays it on the screen.

## Features

- Two-player gameplay.

- Simple and intuitive controls.

- Realistic ball physics.

- Score tracking for each player.

- Responsive and smooth gameplay experience.

## Getting Started

To play Rusty Pong, follow these steps:

1. Ensure you have Rust and Cargo installed on your system.
2. Clone this repository to your local machine.
3. Navigate to the project directory in your terminal.
4. Build and run the game using Cargo:
```
cargo run
```

## Controls

- Player 1 (Left):
- Move Up: W key
- Move Down: S key

- Player 2 (Right):
- Move Up: Up arrow key
- Move Down: Down arrow key

## Dependencies

Rusty Pong relies on the following dependencies:

- ggez: A lightweight game framework for Rust.
- rand: A crate for generating random numbers.

## Credits

Rusty Pong was created by Enow Scott.

## License

This project is licensed under the Apache License 2.0. See the [LICENSE](http://www.apache.org/licenses/) file for details.