This project is currently under consruction.
Currently all expect one route are HTTP request routes. Only route which works with axios(AJAX) is /cityView.json. Admin routes are under work.
- There is currently only one tribe with
- Training troops (Jobs are not queued) on server so this is based on site referesh and unix time from troopqueue table.
- Battle simulation (It's just very simple calculates amount of troops in each side and removes troops 1:1 according to attackpower).
- Gameworld size is modifiable in config/gameworldConfig.php
- There is currently only three kind of access rights (user loggedIn, user account verified, isAdmin)
- Create .env file there (like example.env).
- Site uses npm so when starting site you need to download dependencies (npm install)
- Site uses little bit vue.js so you have to also compile vue with npm run dev.
- gameworld is currently generated by database seeder so php artisan migrate and php artisan db:seed
- (currently under construction) listen cron with php artisan work.