Web client for use with the forceteki engine.
We have a Discord server for updates, bug reports, and coordinating dev work.
For details on how to get started adding cards, see the wiki.
Follow these instructions to get to the point of being able to run client and connect to a default game. These instruction assume you have a server running locally.
- Git
- Node.js v22.x
The following demonstrates how to install dependencies and run the client server.
# install node dependencies
npm install
npm run devOnce this is running you can go to http://localhost:3000 to get to the home page. Testing with real games requires setting up the BE repo and running the server, see full instructions for that at this wiki: https://github.com/SWU-Karabast/forceteki/wiki/Client-&-Server-Setup
For testing on mobile devices connected to your local network:
- Copy the
.env.local.examplefile to.env.local - Edit
.env.localand replaceyour-local-ipwith your computer's IP address (e.g., 192.168.4.40) - Restart the development server for the Front-End
- Update the Back-End with its instructions to to allow mobile local connections
- Connect to your-local-ip:3000 on the web browser of your mobile device