Enhance JS Slot Machine

Job ID: 40550857

Budget: $10 – $30 USD

I already have a working HTML/JavaScript slot machine (source link: https://microbid.com/slot.html, code will be supplied). What I need now is a quick tweak so I can plug it into my PHP-based site.

Here is exactly what I am after:

• Combine the existing Reset and Spin controls into a single “Start / Spin” button. One click should clear the previous state and immediately start a new spin.
• When the three reels stop, grab the final numbers that appear in each window and send them to my server with a simple AJAX POST (JSON is fine). I will handle the PHP endpoint; just leave a clear placeholder for the URL.

Nothing else in the animation needs to change. Comment your additions so I can follow the logic, and keep external libraries light—plain JavaScript or jQuery works.

I need this turned around as soon as possible, so please only respond if you can jump on it right away.