lund0n / barnyard

A sample game for "Multiplayer JavaScript Game Development" talk from MidwestJS 2017

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Barnyard

A simple game to demonstrate using Browser tech (and RxJS) to build a simple network game.

Quick Start

$ git clone https://github.com/lund0n/barnyard
$ cd barnyard
$ yarn install # or npm install
$ yarn dev # or yarn start on barnyard-basic and barnyard-trail branches

Task List

  • Move the player
  • Checkout for out of bounds
  • Add player's trail
  • Add collision detection
  • Randomize starting position, icon character, and trail color
  • Move state management to web sockets
  • Add start, ending, and replay game management
  • Render multiple players
  • Multiple player collision detection
  • Allow multiple players to sign up for a single game
  • Multiple game creation and management

Available branches:

  • master - latest code
  • barnyard-basic - moving the animal around, checks out of bounds conditions.
  • barnyard-trail - adds the trail behind the animal, adds collision detection.
  • barnyard-network - moves the state to the server, uses web sockets for data interchange.

Deploy to now.sh

now # Yes, that's it!

About

A sample game for "Multiplayer JavaScript Game Development" talk from MidwestJS 2017


Languages

Language:JavaScript 100.0%