/CMPUT404LAB8_W2016

Template Repository for CMPUT 404, Lab 8. Winter 2016.

Primary LanguageJavaScriptMIT LicenseMIT

CMPUT404LAB8_W2016

Template Repository for CMPUT 404, Lab 8. Winter 2016.

  • Learn how to use Websockets with a simple phaser.io game
  • Example 1 is a rabbit that can be dragged around the screen
  • 'Completed' is a tug of war style game where the rabbit can be moved from one side to another
  • 'Completed2' is the official lab, a tilemap with player entities that can walk around the map (with collision).

GETTING STARTED

  1. Ensure that node and npm are installed. Currently tested on 4.2.X but should work with any version of node.
  2. Checkout this repository.
  3. Run npm install
  4. Start the application by running ./bin/www

LICENSE

The MIT License (MIT)

Copyright (c) 2016 Alexander Wong

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.