The Brazilian video game source code provided by Cokejogo is suitable for H5 and PC. The front-end is compiled with Vue and the back-end is compiled with PHP. This source code fixes the problem of invalid image resources to ensure the integrity of the game experience.
The program uses the game interface and replaces it with its own interface information in the API controller. The scheduled tasks are also integrated in the API controller, which is easy to operate.
Building Tutorial
Backend test environment: Linux system CentOS7.6, Baota, PHP7.2, MySQL5.6, root directory public, pseudo-static thinkPHP, open ssl certificate
Database configuration: /application/database.php
Import database; sql.sql
To separate the front and back ends, configure the cross-domain domain name in cors_request_domain at the end of /application/config.php
Front-end h5 modification: /static/js/index.74bd3e06.js, search for yxymk.net and replace it with your own back-end domain name
Front-end PC modification: /js/app.ee4acc1c.js, search for yxymk.net and replace it with your own back-end domain name
The program uses the ng interface. You can open an account yourself and replace it with your own interface information in the api controller.
The scheduled tasks are also in the API controller. Go and see for yourself. I won’t write out the simple things.