scrap is a small rogue-like game. Read https://inconsolation.wordpress.com/2015/03/10/scrap-go-forth-and-scavenge-aggressively/ for a detailed description. I downloaded scrap.tar.gz,unpacked it, cp makefile.linux makefile .
make ended with errors like:
g++ -c -o main.o main.cpp main.cpp: In function ‘int main()’: main.cpp:14:37: error: ‘strcpy’ was not declared in this scope main.cpp:15:37: error: ‘strcat’ was not declared in this scope main.cpp:30:50: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] main.cpp:34:78: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] main.cpp:43:57: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] main.cpp:51:25: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] main.cpp:57:65: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] make: *** [main.o] Fehler 1
I added #include <cstring> to the first lines of main.cpp, ui.cpp, being.cpp, game.cpp. After make I started the game with ./scrap .