- Start prolog, e.g. GNU Prolog, SWI Prolog.
$ gprolog
GNU Prolog 1.4.4 (64 bits)
Compiled Jul 13 2018, 22:29:11 with gcc
By Daniel Diaz
Copyright (C) 1999-2013 Daniel Diaz
| ?-
- Compile
try.pl
.
| ?- [try].
compiling /home/USER/.../main.pl for byte code...
/home/USER/.../main.pl compiled, 134 lines read - 15691 bytes written, 18 ms
(5 ms) yes
- Start.
| ?- start.
_/_/_/ _/ _/ _/_/_/ _/_/_/
_/ _/ _/ _/ _/ _/ _/
_/_/_/ _/ _/ _/_/_/ _/ _/_/
_/ _/ _/ _/ _/ _/ _/
_/ _/_/ _/_/_/ _/_/_/
Welcome to the battlefield!
You have been chosen as one of the lucky contestants.
Be the last man standing and you will be remembered as one of the victors.
Available commands:
start. -- start the game!
help. -- show available commands
quit. -- quit the game
look. -- look around you
n. s. e. w. -- move
map. -- look at the map and detect enemies
take(Object). -- pick up an object
drop(Object), -- drop an object
use(Object), -- use an object
attack. -- attack enemy that crosses your path
status. -- show your status
save(Filename). -- save your game
load(Filename). -- load previously saved game
Legends:
W = weapon P = player
A = armor E = enemy
M = medicine - = accessible
O = ammo X = inaccessible
>
Have Fun!
CREDITS
Created by :
Abda Shaffan Diva 13517021
Didik Supriadi 13517069
Juniardi Akbar 13517075
M. Hendry Prasetya 13517105