- Overview
- Project Structure
- Coding Guidelines
shooter-io
is a simple, competetive open-source HTML5 shooter-game.
You can play the latest deployed version by visiting this web page.
Project
Client
: TypeScript, React, PixiJS, Vite, Socket-IO-ClientServer
: TypeScript, ExpressJS, Socket-IOShared
: TypeScript
- Install and set up git
- Install and set up docker
- Install and set up the latest node release
- On your system, use
git clone https://github.com/greenpixels/shooter-io.git
in a folder of your choice - Navigate into the project folder and execute
npm install
to install all dependencies of this project - Generate all necessary project files by executing
npm run generate
. For more information, see What is Zod? - Start the client and server:
- To start the server, navigate into
/server
and excecutenpm run dev
- To debug (only VSC): Activate debugger-attaching in VSC via --inspect flag and run
npm run debug
Documentation
- To debug (only VSC): Activate debugger-attaching in VSC via --inspect flag and run
- To start the web client, navigate into
/client
executenpm run dev
- To debug (only VSC): Press
F5
in Visual Studio Code to initiate debug mode
- To debug (only VSC): Press
- To start the server, navigate into
- Visit http://localhost:3000 to playtest
- That's it!
For more information on how to write code for this project, please see Coding Guidelines