Multiplayer word-spelling game.
Two players take turns adding letters to the end of the letter stream. Each time a player adds a letter that causes a word to be spelled at the end of the stream, they are awarded points corresponding to the length of the word spelled.
Player 1: l
Player 2: a
Player 1: t
Player 2: e
Player 2 is awarded 2 points (late)
Player 1: r
Player 1 is awarded 3 points (later)
Player 2: a
Player 1: l
Player 1 is awarded 5 points (lateral)
Player 2: l
Player 2 is awarded 1 points (all)
Player 1: y
Player 1 is awarded 7 points (laterally)
Player 1 is awarded 3 points (rally)
Player 1 is awarded 2 points (ally)
npm install
# Development
node app.js
# Production
NODE_ENV=production node app.jsTo deploy to Heroku:
heroku labs:enable websockets
heroku config:set NODE_ENV=productionCopyright © 2013, Curtis McEnroe programble@gmail.com
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.