Project on Faculty of Organization and Informatics in Varaždin on course Logical Programming.
Project on college Faculty of Organization and Informatics in Varaždin on course Logical Programming.
SWI-Prolog (In this project has been used 32 bit SWI-Prolog 7.2.0)
Connector/ODBC (OPTIONAL). If u want to use database for saving stats.
Database (OPTIONAL). If u want to save your current position and stats u should install it. I have used XAMPP with MariaDB:
Predicate | Description |
---|---|
start | initialize new window |
uzmi(O) | get object O into inventory. Object O can be poke_lopta(eng. pokeball) or pokedex |
idi(X) | go onto location X |
analiza_pokemona(P) | analize pokemon P with pokedex |
zatvori_pokedex | close pokedex |
uhvati_pokemona(P) | get pokemon P into invetory. P is pokemon name |
odabir_pokemona(P1, V) | P1 is pokemon in inventory. V is type of attack, can be obicni(regular) or posebni(special) |
spremi | save location and stats into database |
ucitaj | get saved location and stats from database |