mirror of
https://github.com/ArnoldSmith86/virtualtabletop.git
synced 2025-02-17 00:51:53 +08:00
virtualtabletop
This project aims to create a virtual tabletop in the browser where you can (re)create all board, dice and card games and play them without registration over the internet.
You can host your own instance or go to VirtualTabletop.io.
This project is inspired by playingcards.io.
It's still in an early state but most PCIO files should be compatible and playable already.
Come join our Discord server if you want to discuss the project.
This project started after a reddit post in our playingcardsio subreddit.
Download this repository and get all dependencies
This assumes a Debian based Linux. If you use something else, you probably know what you need to change.
curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash - # adds a repository for Node.js v15
sudo apt install -y git nodejs # installs the required software
git clone --recurse-submodules https://github.com/ArnoldSmith86/virtualtabletop.git # downloads everything in this repository
cd virtualtabletop # changes to the newly created directory
npm install # uses the Node.js package manager to install all dependencies
Starting the server
Now you can start the server by typing:
npm start
If that doesn't work, try:
node server.mjs
This will serve the project at localhost:8272.
Languages
JavaScript
81.2%
CSS
14.3%
HTML
4.3%
Shell
0.2%