c0nrad / sticks

NodeJS TCP implementation of Sticks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sticks

Sticks Intro

Sticks is a NodeJS game for playing the game Sticks.

The Game

The objective of sticks is to have your opponent tick off the last stick on the board. So the game starts with three rows of sticks, 3 sticks on the top, 5 sticks on the middle, and 7 sticks on the bottom.

Players take turns crossing off sticks, sticks can only be removed from one row at a time. And you have to remove at least one stick on your turn.

Installation

  1. First, install Node and NPM

  2. Run the command git clone https://github.com/c0nrad/sticks.git from terminal. If you're on an inferior operating system, just download the zip near the top of this page.

  3. Run the code by node app.js

  4. Connect to the game by telnet localhost 3000

  5. Enjoy!

Questions/Comments

Please contact Stuart Larsen at (sclarsen@mtu.edu)

About

NodeJS TCP implementation of Sticks


Languages

Language:JavaScript 100.0%