Giter VIP home page Giter VIP logo

tank-io's Introduction

tank-io

This is an attempt at creating an online game using socket-io.

Introduction:

The game will involve a 4 player arena. Each player controls a tank which he can move and shoot with. Shooting creates a projectile which will instantly kill whoever collides with the projectile.

Simple right?

The game has a few goals in mind:

  • Improve on my appauling JS / HTML skills.
  • Use socket-io to create a low-latency game
  • Very light-weight, don't use frameworks/game-engines as much as possible
  • Be fun to play
  • Actually finish it and deploy it on the cloud in a playable state

Nice-to-haves: In order to monetize this game and make it have real-world appeal, we need to introduce fun game-play. So that means:

  • Graphics which aren't complete shit
  • Different types of projectile (perhaps homing cannon)
  • Ranking system. Good players should play with good players. There should also be a number 1 player.

Ranking system: ELO rating system used in chess / LoL.

Ranking Algorithm

See server/elo.js

Profiles

  • Local: * Web-Server port 8080 * socket-io port 3000 * url localhost
  • Live * Web-Server port 80 * socket-io port 3000 * url 35.187.61.163

MongoDB Install

sudo apt install -y mongodb

TODO

  • Create deploy script (May be a bit more difficult, should probably be in .gitignore)
  • Create install script

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.