Building a Real-time Two-player "Words in a Word" game with Node.js and Socket.io

Building a Real-time Two-player "Words in a Word" game with Node.js and Socket.io

Links: Live Demo, Github RepositoryOver the weekend I was working on Node.js and socket.io. I managed to develop boilerplate game app. Its a two-player word-game in which both players have to find words from a given word. The scores are calculated by finding the length of the words. The player with the maximum score wins. Here is a screenshot:

Lets get started with the code

Setting up the app

We build the app using the Express framework, and socket.io. To create a new express app use the following command in the shell: