From c2ea805dfa4a3494ccc8b38eb609d3167e60c2f0 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Sun, 21 Sep 2014 09:34:57 +0200 Subject: Updated readme --- Gruntfile.js | 1 - README.md | 11 +++++++++-- config.json | 5 ----- game/main.js | 1 - package.json | 4 ++-- todo.md | 3 +-- 6 files changed, 12 insertions(+), 13 deletions(-) delete mode 100644 config.json diff --git a/Gruntfile.js b/Gruntfile.js index 1dfd9b1..d4ea066 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,6 +1,5 @@ // Generated on 2014-03-28 using generator-phaser-official 0.0.8-rc-2 'use strict'; -var config = require('./config.json'); var _ = require('underscore'); _.str = require('underscore.string'); diff --git a/README.md b/README.md index ffaccc8..53c3d7f 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,14 @@ Interactive Pacbot ================== HTML5 game implementation of the Entelect 100k challenge for 2014 (http://challenge.entelect.co.za/). +This game is written in JavaScript using the Phaser game engine. It can be played here: http://jworthe.github.io/InteractivePacbot -Players take turns giving commands to their Pac-Bots. At the end of the game, the player who has managed to eat the most pills is the winner. +The Rules +--------- -This is currently a work in progress. +1. It's turn based. Yellow goes first. +2. The player with the most points wins. +3. Small pills are worth 1 point, and big pills are worth 10 points. +4. Each player has a poison pill that they can drop behind them. If a player eats a poison pill, they are teleported to the respawn zone in the middle of the map. +5. If a player moves to eat their opponent, the opponent is teleported to the respawn zone in the middle of the map. +6. If you want to start a new game, pressing ESC will reset the game to its initial state. diff --git a/config.json b/config.json deleted file mode 100644 index 51a4efa..0000000 --- a/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "projectName": "Interactive Pacbot", - "gameWidth": "1750", - "gameHeight": "1100" -} \ No newline at end of file diff --git a/game/main.js b/game/main.js index 16071ff..d72ec04 100644 --- a/game/main.js +++ b/game/main.js @@ -7,6 +7,5 @@ window.onload = function () { game.state.add('load', require('./states/load')); game.state.add('play', require('./states/play')); - game.state.start('boot'); }; \ No newline at end of file diff --git a/package.json b/package.json index 0128a7c..ab3a636 100644 --- a/package.json +++ b/package.json @@ -24,8 +24,8 @@ "title": "Interactive Pacbot", "toolbar": false, "frame": true, - "width": 1100, - "height": 950, + "width": 1750, + "height": 1100, "position": "center" } } \ No newline at end of file diff --git a/todo.md b/todo.md index 46a0ffb..3be4806 100644 --- a/todo.md +++ b/todo.md @@ -1,5 +1,4 @@ TODO ==== -* Refine orientation controls -* Read in game playback +* Refactor -- cgit v1.2.3