26 lines
613 B
Markdown
26 lines
613 B
Markdown
# Rusty Pong
|
|
A simple version wich may include some upgrades from the tetra crate tutorial pong
|
|
|
|
## How to run ?
|
|
You have to have Rust installed
|
|
But you also need SDL to run it, here is how to install it :
|
|
### Windows
|
|
<a href="https://www.libsdl.org/download-2.0.php">Sdl Website</a>
|
|
### Linux
|
|
```
|
|
# Ubuntu/Debian
|
|
sudo apt install libsdl2-dev
|
|
|
|
# Fedora/CentOS
|
|
sudo yum install SDL2-devel
|
|
|
|
# Arch Linux
|
|
sudo pacman -S sdl2
|
|
```
|
|
### MacOs
|
|
```
|
|
brew install sdl2
|
|
# You will also need to add the following to your ~/.bash_profile, if it is not already present.
|
|
export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/lib"
|
|
```
|