From 517148e76bb43470475614cfc0e2776c19f70f80 Mon Sep 17 00:00:00 2001 From: maxluli Date: Mon, 9 May 2022 11:49:45 +0200 Subject: [PATCH] Added a ReadMe --- ReadMe.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ReadMe.md diff --git a/ReadMe.md b/ReadMe.md new file mode 100644 index 0000000..7f9c060 --- /dev/null +++ b/ReadMe.md @@ -0,0 +1,25 @@ +# 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 +Sdl Website +### 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" +```