© Yadu Rajiv 2018
Yadu RajivDeveloping Turn-Based Multiplayer Gameshttps://doi.org/10.1007/978-1-4842-3861-5_4

4. An Introduction to Node.js

Yadu Rajiv1 
(1)
Bangalore, Karnataka, India
 

In this chapter we focus on learning the basics of Node.js: what it is, what it can do for us, and how we can start to use it in game development. Node.js is a runtime environment that is used to execute JavaScript code, usually on the server side. It uses Chrome’s V8 JavaScript engine internally, and hence it is well-maintained and extremely fast. Node.js uses an event-driven, non-blocking IO model that makes things fast as well as efficient. In simpler terms, node lets us execute JavaScript on servers, and it uses event-driven models very much like how events work ...

Get Developing Turn-Based Multiplayer Games: with GameMaker Studio 2 and NodeJS now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.