QMA server
Simple game server with php without socket programming. Uses the Api request post(json).
What does this code do?
- Register the user as a guest registration or with the desired username and password
- Login 1 Time
- Add/remove friend
- Find game
- Leaderboard
- Game control like who won .etc
- In App Purchase
- Setting
- Request play
- User info
Installation SETP by STEP
- Upload/Import database.sql (mysql)
- Change database/password/user in config.php
$dbhost = 'localhost';
$dbuser = 'databaseuser';
$dbpass = 'databasepassword';
$dbname = 'databasename';
- Upload php file on your own server
- Setup Api link in unity c# sample https://192.168.1.100/api or https://google.com/api
Disadvantages
I do not know why I did not use the socket for the section while playing the game so you can change this section with socket for faster response
Advantages
you can run your game server for your game with 2.5$ server with 100 online players.