Hi there,
I am currently working on 2D browser game.
After putting the ZendFramewor
k away, my team and I decided to write our own framework.
Now we are helpless, because none of us has ever developed anything similar, except CMS frameworks etc.
The language is PHP
and the database driver used for it is MySQL
(i, PDO, etc)
Can you give us any tips about structuring the framework?
Thank you ;)
Example of the genre the should fit in
- Ogame
- Travian
- Zarrenwar
(My) Requirements (to the framework)
- Basic API
- No oberwhelming amount of functionality, which I can not handle, and I do not need
My idea of (my) the framework
- Some sort of "
backe-end
"- Managing the
database
- Handling registrations,
HTTP
requests- Generating chances that something ingame will or will not happen
- no graphical mechanisms, just computing income, daytime, damage of tank xy, etc.
By the way, the frameworks I tested were not php game engines, because I never found any php game engine freely available.