mith / pong

A simple pong clone using the bevy game engine

Home Page:https://mith.github.io/pong

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pong

This is a simple Pong clone I wrote for some practice with the Bevy game engine and Nix. It serves as a simple example of how use Nix to build Rust packages for webassembly, letting Nix manage the toolchain and other dependencies. Right now the AI plays perfectly and never misses, I haven't managed to score at least. Tweaking the difficulty is the next goal.

How to run

Web

Play the game here

Nix

To run the game locally using Nix, use the following command:

nix run github:mith/pong

How to contribute

Should it somehow be your deepest desire to contribute to a pong game, setting up a development environment is easy thanks to Nix and Direnv; run direnv allow in the source directory and any shells and editors with support for direnv will have the toolchain and tools like rust-analyzer linked into their environment when opening the project.

About

A simple pong clone using the bevy game engine

https://mith.github.io/pong

License:GNU General Public License v3.0


Languages

Language:Rust 83.3%Language:Nix 13.8%Language:HTML 2.9%