Giter Site home page Giter Site logo

csgo-matchmaking's Introduction

Counter-Strike Global Offensive Matchmaking

An alternative to the normal integrated matchmaking

Build Status Coverage Status dependencies

Structure

Server

  • NodeJS
  • ES6
  • Simple Node Logger
  • JsonDB
  • Socket.io
  • pkg

Client

  • NodeJS
  • ES6
  • Simple Node Logger
  • Socket.io client
  • pkg

Test

  • NodeJS
  • ES6
  • Mocha

Basic Usage

  • Install NodeJS 8.0 or higher
  • For both server and client copy the config.example.js to config.js and change the vars to your needs
  • cd into the server folder and run npm install and npm start
  • cd into the client folder and run npm install and npm start
  • That's it. You should see the client connect to the server.

Build

  • Install NodeJS 8.0 or higher
  • cd into the server folder run npm install and npm run build
  • cd into the client folder run npm install and npm run build
  • The compiled files are in server/build and client/build

Test

  • Install NodeJS 8.0 or higher
  • cd into the server folder run npm install and npm test

Logging

All logs will be written to the csgo-matchmaking.log file in the node folder.

To increase the logging change the logLevel in the config.js file from info to debug.

Database

To make this as simple as it is I use a local Json database.

Checkout csgo-matchmaking.json since this is the db file.

Inspiration

Socket.IO Client for Client backend: https://github.com/socketio/socket.io-client Automated testing for Server and Client: https://mochajs.org/ Testing Socket.IO in Mocka example:

Client CSGO integration: https://github.com/joshuaferrara/node-csgo

License

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.