Code Monkey home page Code Monkey logo

game-networking's Introduction

game-networking

A simple game-like networking program that uses client-side prediction and entity interpolation. The project is based on Valves description of basic networking for the Source engine, read here.

Watch demo: http://youtu.be/52AQqD_kKPY

Start server

Run in terminal:

./server 1024

Start client(s)

Run in terminal:

./client localhost 1024 3d

Controls

3d-controls:
  • WASD + mouse look
  • Space: Move up
  • Left ctrl: Move down
2d-controls:
  • Use arrow keys
Other:
  • F1: Toggle debug mode
  • F2: Toggle prediction and interpolation
  • Escape: Quit

game-networking's People

Contributors

robinarnesson avatar

Stargazers

Cubero avatar  avatar Yao avatar Andres Costa avatar Heejae avatar  avatar  avatar Alex Rodin avatar  avatar Sefa Tunçkanat avatar  avatar yinpsoft avatar anz avatar Jordan Halase avatar Ernad Halilović avatar Cloud Chen Hann-Shyue avatar  avatar Julio Litwin avatar  avatar Mahesh Velegonda avatar Krzysztof Bogdan avatar Byte avatar Minh Doan avatar Martin jules avatar latyas avatar chu avatar Alan avatar Vitor Coimbra de Oliveira avatar Nik avatar Dimitriy avatar Bence Dányi avatar Zoltan Polgar avatar Phil avatar Flávio Coutinho avatar

Watchers

Alan avatar Giovanni Spina avatar  avatar Nik avatar yinpsoft 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.