mariuszklinger / snake3D

Another incarnation of multiplayer snake game in JS, this time in 3D!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snake3D Build Status

Classic Snake just became 3D and mulitplayer.

Preview:

Goals:

  • implementing logic and engine just on top of three.js
  • decoupling visual side from "backend"
  • testable API (karma, jasmine)
  • have some fun with 3D blocks

Project conventions:

js             
├───client     
│   └───visual => Classes represent 3D layer of object are prefixed "V" (VSnake, VGrid)
├───core       => Core classes used by both, server and client sides
└───server     => Connections handling, server side logic
  • Any visual object (i. e. VSnake) requires during initialization appropiate "core" object (i. e. Snake), and scene reference.
  • In the render loop (Game.animate()), all objects attached to scene is shown on VGrid.

###To run: ###

npm start

and head to http://localhost/src/

###To test: ###

npm test

About

Another incarnation of multiplayer snake game in JS, this time in 3D!

License:MIT License


Languages

Language:JavaScript 100.0%