Giter Club home page Giter Club logo

counter-strike's Introduction

Counter-Strike: Football Tests

Competitive multiplayer game where two football fans teams, each team have 5 players, fights in 30 rounds with goal to win more rounds than opponents team. Teams are Attackers and Defenders. Defenders team has goal of protecting their fan base sanctuary every round from desecrate by attackers using their graffiti bomb ball.

promo

Defenders win round by:

  • eliminated all attackers players before bomb planted (touchdown)
  • defusing bomb before it blows (graffiti fireworks)
  • at least one player survive round time and no bomb is planted

Attackers win round by:

  • eliminated all defenders players before round time ends
  • planted bomb (touchdown) before round time ends and don't allow defenders to defuse it

If attackers deploy graffiti bomb before round time ends, then round clock countdown is set to 40 sec and defenders has 30 sec (or 35 sec in case of using defuse kit) to defuse bomb.

This is low violence game so there is no red blood or similar violence visuals.

Setup

Client

Download executable binary for your platform from the latest release, or build latest locally from project source folder.

cd electron/
npm install
npm run dev

Or you can play using modern Web Browser - just open www/index.html in your favorite browser, but for that you will also need WebSocket UDP bridge.

php cli/udp-ws-bridge.php 8081 # will start WebSocket listener on localhost:8081

CORS policy might require web server running.

php -S localhost:9000 -t www/
open http://localhost:9000

Server

Currently, there is no official public server available (as match making service is also WIP), but you can run server locally (or somebody can host it for you).

composer install -a --no-dev
php cli/server.php 2 # will start server waiting for 2 players to connect

Enabling PHP's JIT compilation should give performance boost so we recommend that.

TODO

Actually not so many hard math things. Mostly just polishing. If you know html/css/js/php languages or 3D modeling/texturing you can join project and help us improve project quicker.

NOT going to implement

  • burst fire and guns with absurd fire rate
  • different players model hit boxes (same hit boxes for all players, only visual clothing design change)
  • player breath animation or any player animation beside walking, crouching, jumping and look movement
  • lag compensation - when you lag it is your problem - your disadvantage

To Be Decided (maybe)

  • aim punch (body shot without kevlar and headshot)
  • aim spread

counter-strike's People

Contributors

solcloud avatar

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.