Source code for a simple browser slot game