This is a demo of my favourite boardgame The Duke.
-
- Tech stack: Godot
-
Web app version 1:
-
Web app version 2 (deprecated):
You can get the full rules from here. For your convenience, a movement reference is provided here.
This game is available here to play.
- Pull the image:
docker pull zjbthomas/dukechess-godot-web - Run the container:
docker run --rm -p 80:80 zjbthomas/dukechess-godot-web - Visit
http://127.0.0.1:80/
⚠️ Microsoft Edge users: Due to security policies,localhostmay not work correctly. Please usehttp://127.0.0.1:80/instead.
- Clone the project.
- Make sure you have
npmandnode(Node.js) installed. - Go to the root directory of the project, and run
npm installin command prompt to install all dependencies. - (Optional) Modify index.js" and "dukechess/index.html" for port and path.
- (Optional) This project is originally designed on Windows. For Linux, please modify paths to the following files:
- Run
node index.jsat the root directory. - Visit
http://host:port/path(the default ishttp://localhost:80/) on two or more pages and enjoy!
- You need "0_babel.bat" to preprocess JSX.
- You need "1_terser.bat" to minify JavaScript for Production.
- More details can be found here.
This code is also adapted for here. Chess is available here to play.