Ymaets is a 2D Rogue-like game where you drive a small ship and defend yourself against wild enemies !
- golang :
sudo apt install golang-go
I) Start by updating your Linux packages
sudo apt updatesudo apt updgrade
II) If you already have a Go workspace go to III), otherwise let's create one.
Move to a directory where you want to create your Go workspace and execute the following commands :
mkdir -p go/src go/binexport GOPATH=$(pwd)/go
III) Then to download this project and its dependancies execute these following commands :
git clone https://github.com/JulienCHATEAU/Ymaets.git $GOPATH/src/Ymaetsapt-get install libgl1-mesa-dev libxi-dev libxcursor-dev libxrandr-dev libxinerama-devapt-get install libwayland-dev libxkbcommon-devgo get -v -u github.com/gen2brain/raylib-go/raylibgo get github.com/nickdavies/go-astar/astar
IV) Finally, to compile the project use :
go install Ymaets
Note that in II), your GOPATH variable will be unset when you quit your terminal.
Add export GOPATH=<your_go_workspace_path> to your .bashrc file in order to make it persistent.
You can simply run the project executing the following command :
go run Ymaets