[Works only for Unix and Windows, not for Mac]
Tool to create Arimaa Prolog IA with JS game interface. Usage a Pengine to convert Prolog in JS.
- Download prolog from prolog
- Install it with default option
- Download folder (zip file)
- Unzip it in your working folder
- Enter in folder ArimaaIA02
- Execute run.pl (allow authorization if asked) The server is now running
- You can then access to the game in any browser via: http://localhost:3030 In the interface you play the gold (bottom) color and you IA is the silver color (top)
The ONLY file you have to touch to code your IA is ArimaaIA02\apps\arimaa\arimaa.pl
- Update ArimaaIA02\apps\arimaa\arimaa.pl
- Restart the server: Close the SWI-Prolog console and re-execute run.pl
- Refresh your browser page or click http://localhost:3030 Your new IA will be loaded (silver player)
- Install the library OSSP UUID
- Recompile prolog (example under Arch Linux):
- yaourt -Sy uuid
- yaourt -D swi-prolog-devel (yes to remove prolog if conflict)