Simulation of a casino slot machine using PHP & mySQL
HOW TO RUN APPLICATION
-
Navigate in browser to /create_tables.php this will create the database tables in phpMyadmin.
-
You do not need to insert data in the table to start playing the game because it will do this for you when you start.
-
Navigate to /index.php
-
Click the button that says "start new game" and follow the prompts
-
Click the play button to play the slot machine after you have selected a bet amount radio button.
-
Add cash to game by adding cash to the field and click add cash
-
End the game by clicking cash out
-
See the top wins of all time by different players by clicking the button "View top wins of all time"
-
Click on the button that says XML report of average playing time to see restful api in action - all it is is reading an XML file that I created for reporting game statistics.