Hello everyone, here’s a multiplayer auto-chess demo. The current effect of this demo is demonstrated in the video below.
It allows for the opening of a management terminal and two player terminals, one for red and one for blue. Players can left-click to select cards and right-click to place them on their side of the field. Once placed, the cards will automatically move towards the opponent’s position and fire bullets at their cards.
All the code and resources are included in this zip file,
nginx-1.29.2.7z.001.zip (10 MB)
nginx-1.29.2.7z.002.zip (10 MB)
nginx-1.29.2.7z.003.zip (10 MB)
nginx-1.29.2.7z.004.zip (5.6 MB)
We need to remove the .zip suffix first, and then use 7-zip to decompress them.
which also contains an nginx server and a websocket server build by JAVA(requires JDK). You can configure an IP for the servers in the start.bat script (if not configured, the Java program will automatically guess the IP). It can automatically start all servers and open a Chrome browser page (running this script again can close the background nginx service). Access the URL in the page or scan the QR code using a device on the local area network to play the corresponding role.
Visiting /html/tool/createUnit3/dwsj1/index.html will open an AI-generated character editor, which can be used to add more types of cards.