Skip to content

OotTheMonk/forceteki-client

 
 

Repository files navigation

Forceteki-client

Web client for use with the forceteki engine.

We have a Discord server for updates, bug reports, and coordinating dev work.

Contributing

For details on how to get started adding cards, see the wiki.

Development Quickstart

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.

Required Software

  • Git
  • Node.js v22.x

Install Dependencies

The following demonstrates how to install dependencies and run the client server.

# install node dependencies
npm install
npm run dev

Once 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

Mobile Testing and Custom Environment

For testing on mobile devices connected to your local network:

  1. Copy the .env.local.example file to .env.local
  2. Edit .env.local and replace your-local-ip with your computer's IP address (e.g., 192.168.4.40)
  3. Restart the development server for the Front-End
  4. Update the Back-End with its instructions to to allow mobile local connections
  5. Connect to your-local-ip:3000 on the web browser of your mobile device

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.5%
  • Python 1.3%
  • Other 0.2%