I run a fantasy soccer management website and it is growing very rapidly. Currently to simulate the games I have to run a php script that creates text files from my Database (MySQL), I download these files which are read by a game engine (written in C++). This engine simulates results, commentary and players stats all back into the text files. Which I then upload, read using a php script and update the database. My main problem is that I have to do everything manually - so if I am away the games do not get run.
What the engine will need to do:
1) Interact with the sites MySQL database.
2) Read fixtures daily and runs any games scheduled for that day.
3) Read the players attributes directly from the database to know what their skill levels are.
4) Adjust players attributes after the game has been played.
5) Produce a commentary file back into the database.
The way that the site works is that a manager logs in to the game and they have a roster of players. These players have different attributes like Tackling, Passing, Shooting and so on. The game engine would need to be able to interface with the MySQL database to read the players skills and then simulate the games. Adjust fitness after the game is completed.
I know that there are a number of ways to do this. I have source code for the original files that I am using. Currently my preference is to convert and update the c++ files into php as this is the language that I am familiar with.
Whatever method you choose I will expect it to work on my site when installed. You will be able to have access to a mysql db and a directory for testing.
The c++ scripts are rather large and complex so you will need to have an indepth knowledge of both c++ and PHP. PLEASE do not waste my time by applying for this unless you have experience. The source code is available in the attached ZIP file - it is open source however the PHP script created will not be initially. Not sure if it is possible on this site but work samples you have done would be helpful.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
Windows XP is my development environment.
Linux is my web server OS, with php 4.3.3 and MySQL [url removed, login to view]