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, see the wiki. Client issues are tracked on this repo's issues page — look for the good first issue label for beginner-friendly tasks.
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
.env.local.exampleto.env.local - Edit
.env.localand replaceyour-local-ipwith your computer's IP address (e.g.,192.168.4.40) - Restart the development server
- Follow the backend mobile testing instructions to add your IP to the CORS allowed origins
- Connect to
your-local-ip:3000on the web browser of your mobile device