Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aqlx86/bodog-lotto-exam
a lotto application programming application for senior php developer
https://github.com/aqlx86/bodog-lotto-exam
Last synced: 29 days ago
JSON representation
a lotto application programming application for senior php developer
- Host: GitHub
- URL: https://github.com/aqlx86/bodog-lotto-exam
- Owner: aqlx86
- License: apache-2.0
- Created: 2013-10-13T11:05:47.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-13T11:22:53.000Z (about 11 years ago)
- Last Synced: 2024-05-01T13:23:49.299Z (8 months ago)
- Language: PHP
- Size: 145 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
About
=====
A lotto application programming application for senior php developer.This uses websockets for communication between the client and the servers.
tested and working on top of debian based linux, apache server, PHP 5.4.4 (no framework) , and google chrome browser.Components
==========
* NotORM - used for database manipulation.
* PHP-Websockets - for socket communication.Setup / Installation
====================
* put the lotto folder in your document or create a vhost.
* create a db then import the sql dump from the /sql folder.
* modify the database, game settings in /server/config.php file.
* change file permission of start-server.php and start-draw.php (```chmod +x start-server.php start-draw.php```).
* setup a cron job for the draw server, use the start-draw.php script.Running
=======
* run the lotto game server in/only CLI (```./start-server.php```).
* in your browser open index.php. once it is connected to the server you can start making your combinations.Notes
=====
* to generate the winning numbers manually, run (```./start-draw.php```) in CLI or in the game UI there is a button to trigger drawing of winning numbers.