This is a simple PHP script that allows a group of Knights in circle take turns in rolling a dice, the one with the point less than the set threshold gets eliminated.
The project is useful to test and ascertain the state of an element in a loop.
-
Ensure the application is properly cloned
-
Run the code below to install all dependencies and packages.
composer update
-
Open the updated application in your browser.
-
locate a log.txt file to see all the output of each play!
I will optimize this more going forward