Coder Social home page Coder Social logo

epidem.io's Introduction

Epidem.io

A web-based virus survival game developed using TypeScript, PIXI.js, Epxress.js and socket.io.

The game is set in a simulated city that's populated with a robust AI. The gameplay focuses on surviving in this city while a virus is spreading. Players must balance the risk of the virus, hostile players and their needs (hunger, thrist...) to win!

A demo of the game is available (when the server isn't down for development). This demo contains multiple hostile AI, a tetris-like inventory system and can currently support 75+ players per round.

The game is optimized using a spatial hashmap for collision detection and this optimized pathfinding algorithm. Even with this incredibly fast algorithm pathfinding is still problematic and takes up most of the server runtime. So a priority queue ranked by AI’s need for a path is used for further optimization. Screen Shots:

Controls:

E : open inventory

R : rotate item in inventory

1-9 : select item in hands

Left Click : use item in hand

epidem.io's People

Contributors

ttenneb avatar

Watchers

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