I wrote this code following 18 step by step youtube videos by copaphobia from the first opening tag to the last one these tutorials produce a working mmo rts browser game. I then added a little functionality and documented very lightly the code but to anyone who has seen php before this is really straight forward. Most of the variables are a direct match to the database and are clearly labeled for use. I packaged that up into what it is now and would like to release it and continue a colaborative/learning experience of my own with others who would like to learn more and sharpen their skills on a working mmo platform.
Features:
An income system of gold and food
Purchase attack/defense units
Purchase farmers/miners
Equip all units with proper equipment for bonuses
PvP with simple battle system and rewards
Clearly marked variables for easy reference to tables
Clean-ish code
Features
- Gold Income from Miners
- Food Income from Farmers
- Recruit All Units with Food
- Purchase Equipment with Gold
- Bonuses from Equipment
- *Diamonds* for Pay to Play features
- Simple Logs system
- Private Stash for Food & Gold