realtime terminal RPG game written in C
-
download exe file and data folder.
-
place them in a same folder.
-
run exe file
[Arrow-up] Move up
[Arrow-down] Move down
[Arrow-left] Move left
[Arrow-right] Move right
[Space-bar] Place bomb
[ESC] Save current game
[F1] Load saved game
[s] Open skill menu
[d] Open debug menu
[i] Open item menu
[q] Quit game
[0~9] Select corresponding item from current menu
[`] test new feature(poison effect)
run build.bat
compile routine requires gcc and cproto.
without source code modification, you can remove cproto line from build.bat file.
in this case, it requires gcc only. no curses library needed.
Read some programming philosophy book and then rebuild from scratch with some philosophies.
(Art of unix programming)
-
make each program do one thing well
-
make each program communicate with other
-
make logic to data
-
optimize later, prototype first
-
write code to write code