EricEisaman / cs1rw

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CS1 Logo

CS1 Engine


About


The CS1 Game Engine is undergoing a complete rewrite. Please take part in our community! Your ideas and feedback are important! If you wish, you can remix this project to develop and build your own versions of the CS1 Game Engine, CS1 Game Server, CS1 Game Socket, and Custom CS1 Game Example.

Examples


Production Example with Minified Game Build

Production No-Build Example

Staging/Development Example with Minified Game Build

Staging/Development No-Build Example

Staging/Development Minimal HTML Example


Publishing to NPM

Use the following pattern to publish any npm package from Glitch

If you wish to create your own modified version of the CS1 Game Server:

  • Create an npm account
  • Create an npm token
  • Record your npm token in .env.
  • Create a .npmrc file in the src/server directory with the following line:
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
  • Configure the package.json in the src/server directory according to your details
  • Make sure to set a unique version before publishing package to npm.
  • Open a Terminal and run cd src/server
  • In the Terminal run npm publish

About


Languages

Language:JavaScript 99.8%Language:HTML 0.2%