Working Title Design Document

This is the design document for "Working Title" - a new browsergame project by one of the writers at http://buildingbrowsergames.com.

Brief Description

Working Title is going to be an online browsergame(or PBBG) modelled after old text adventure games. It will have a textbox for users to enter commands into, and will use Ajax to dynamically update the screen.

Features

Rooms

Users will move between rooms. When they are inside a room, that room's description will be displayed - along with clickable links to all of the (non-secret) exits of that room, and an explanation of any other players, monsters, or items within the room.

Monsters

There will be monsters in each(but not every) room, which users will have the option of attacking. Some monsters will be flagged as aggressive(this will be a database setting), meaning that they attack the player the moment he/she enters the room. Monsters, when defeated, will drop items which a player can pick up.

Items

Players will all have inventories. Their inventory will be limited to begin with - however, if they happen to obtain a Bag of Holding, their inventory limit will increase. A player can only have one "____ of holding" at a time - although a sack of holding is better than a bag, and a bag is better than a sock, and so on.

The Codex

The Codex will be an accessible area on the main website that displays all entities currently in the game - all monsters, items, and so on. It will use each object's toHTML() function to generate its display HTML, and users who have logged in will be able to comment on particular entities within the database.

Player Stats

Commands

This is a list of the commands that a user will be able to use anywhere.

Implementation

Website

The website will have a few, self-explanatory(for the most part) pages on it. This is what they are:

Entities

Because we are using a flexible statistics system, any and all statistics are available for all players, monsters, and items.

Player

Attributes:

Methods:

Monster

Attributes:

Methods:

Item

Attributes:

Methods:

Room

Attributes: