This product is built for PHP/MySQL web developers, who are passionate about creating a Xiangqi game for online playing.
There are 4 options: Play with friend, Play with AI, Play in room, and Set up the board
Play with AI: Users play directly on the front page. There are 4 levels: Newbie, Easy, Normal, and Hard.
Play with friend: Users press on the button "PLAY WITH FRIEND" on the front page and practice with friend.
Play in room: Users press on the button "HOST A ROOM", host a new room with random Room code, and create a password for you and your friend, also capable of Inviting friend to play by sending the link. Users can also access the page "Rooms" to enter a hosted room. Users can choose Red Side or Black Side, Red moves first.
Set up the board: Players press on the link "Set Up". In this option, players can arrange the chess pieces and press "CAPTURE THE BOARD" to challenge friends.
AI feature with 4 levels: Newbie, Easy, Normal, and Hard. The AI is based on Minimax Alpha Beta algorithm.
Hosting Room feature: user can host new room with a password.
Set up board with Board Capture.
Share Board feature: user can Share the board with others.
PHP >= 7.2.5
BCMath PHP Extension
Ctype PHP Extension
Fileinfo PHP extension
JSON PHP Extension
Mbstring PHP Extension
OpenSSL PHP Extension
PDO PHP Extension
Tokenizer PHP Extension
XML PHP Extension
I. Requirements - PHP >= 7.2.5 - BCMath PHP Extension - Ctype PHP Extension - Fileinfo PHP extension - JSON PHP Extension - Mbstring PHP Extension - OpenSSL PHP Extension - PDO PHP Extension - Tokenizer PHP Extension - XML PHP Extension II. Installation After you've downloaded the product and extracted the contents from the ZIP package, you can start the installation process. 1/ Importing the database - Create a new MySQL database (optional). - Create a new MySQL username and password (optional). - Import the Database.sql file from the MySQL folder into your MySQL database. 2/ Setting-up and uploading the files - With a text editor open the Script/.env and update the values of APP_NAME, APP_URL, DB_DATABASE, DB_USERNAME, DB_PASSWORD with your own information. - Upload the contents inside the Script folder on the location where you want the product to be installed at, i.e. root folder (public_html or htdocs or www). III. Web Server Configuration - Apache: You should leave the .htaccess in root folder and public folder as is. In root folder:
A regular license allows an item to be used in one project for either personal or commercial use by you or on behalf of a client. The item cannot be offered for resale either on its own or as part of a project. Distribution of source files is not permitted.
An extended license allows an item to be used in unlimited projects for either personal or commercial use. The item cannot be offered for resale "as-is". It is allowed to distribute/sublicense the source files as part of a larger project.