Skip to content

andrewkharook/dragonsofmugloar-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

«Dragons Of Mugloar» game

PHP application that talks to battles API and weather API to get the battle conditions and tries to win the fight.

Current implementation keeps the victory rate at about 96%.

To run the game:

Clone or download the repository to your computer, and run the app.php in terminal with optional -g or --games parameter stating how many battles you would like to hold (default number of games is 10):

php src/app.php --games=100

After you've run the application simply wait for it to display the results:

**** Final scores in 100 games:
     100 victories
     0 defeats
**** Log written to /Users/username/dragonsofmugloar/var/log

Detailed log is saved to ./var/log/game.log.txt.

Have fun.

About

«Dragons Of Mugloar» game implementation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages