GithubHelp home page GithubHelp logo

jaggedsoft / capthatflag Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crisu83/capthatflag

0.0 2.0 0.0 47.3 MB

A fast-paced multiplayer capture that flag game written in JavaScript.

Home Page: http://capthatflag.com

License: BSD 3-Clause "New" or "Revised" License

JavaScript 11.29% CSS 88.71%

capthatflag's Introduction

CAP THAT FLAG

A fast-paced multiplayer capture that flag game written in JavaScript.

Specifications

A high level overview of the game structure:

Server

  • Built on-top of ExpressJS and Primus.io (http://express.io, http://primus.io)
  • Authoritative server (does all computations)
  • Must be able to handle events from up to 100 clients
  • Attaches to client events; emits and broadcasts events to clients
  • Single point of configuration (configuration sent to clients)
  • Runs custom physics

Client

  • Built on-top of the Phaser framework (http://phaser.io)
  • Renders the game state in real time (doesn't wait for a response from the server)
  • Emits events to the server and attaches to server events
  • Renders tile-based maps build in using Tiled (http://www.mapeditor.org/)
  • Uses Grunt and Browserify to build the client

Entities

  • Final entity class that can be initialized from JSON data through a factory
  • Functionality added with various components (both server and client)
  • Attributes stored under a single property
  • Can be serialize to JSON for network communication

Gameplay

  • Fast-paced CTF
  • Easy to play and quick to learn
  • Short games that players can join at any point
  • Four teams that players join automatically
  • Emphasizes team play over solo play
  • Multiplayer with support for a lot of players

capthatflag's People

Contributors

crisu83 avatar

Watchers

James Cloos avatar jagged 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.