Coder Social home page Coder Social logo

lance's Introduction

Build Status Inline docs Slack

Lance logo

Lance is a real-time multiplayer game server

It provides an extendible Node.JS based server, on which game logic runs, as well as a client-side library which synchronizes the client's game state with the server game state. In order to provide a smooth visual experience for each connected client, Lance implements efficient networking methods, position interpolation and extrapolation, user input coordination, shadow objects, physics and pseudo-physical movement, automatic handling of network spikes.

Lance aims to optimize the player's visual experience, while providing a simple development model which is highly configurable and easy to analyze and debug.

See it in action

Check out the official demo: Spaaace

Features:

  • Focus on writing your game. Lance takes care of the netcode
  • Can support any type of game or genre
  • Optimized networking
    • TCP via websockets
    • Communication is packed and serialized into binary
    • Automatic handling of network spikes with step correction
  • Intelligent sync strategies for lag handling
    • Extrapolation (client side prediction) with step re-enactment or:
    • Interpolation for optimal object motion
  • Tools for debugging and tracing

More features in the pipeline:

  • UDP via WebRTC
  • Full-stack testing suite
  • Replay saving
  • More physics engines

That's so neat! Where do I start?

The official Lance documentation contains articles on theory and rational, as well as the structure and architecture of the project.

If you feel like learning by doing you can start with first tutorial, My first game: Pong which contains step-by-step on implementation of a networked version of this classic game.

Something went wrong! I need help!

If you're not exactly sure how to do something, Stack Overflow is your friend.

If you've encountered a bug and it's not already in the issues page, open a new issue.

I'd like to join in

For discussing Lance, multiplayer games or just hanging out you're invited to join us on slack.

Built something cool with Lance?

Please Let us know! We'd love to play it, and feature it on the Lance homepage.

lance's People

Contributors

ggalansmithee avatar namel avatar opherv avatar sebring avatar

Watchers

 avatar  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.