Requirements for the Crystal Game


Game Setup

R1:

The user interface of the game should show a layout of the game boundary and game locations.

R2:

Location is defined by four points, forming a rectangle, and is outdoors.

R3:

The game boundaries are defined by four points.

R4:

Not all points within the game boundaries are inside game locations.


Player and Nonplayer Character Types

R5:

There are three basic player types: wizard, warrior, and sage.

R6:

Each player type has its own user interface and user options.

R7:

Every nonplayer character in the game is also one of these three types.


Starting the Game

R8:

Players can either initiate a new game or join an existing game.


Creating a New Game

R9:

Players select a game by name to join game group.

R10:

One player is chosen to create a new game.

R11:

To create a new game, a player chooses Begin New from the Options menu.

R12:

The player is then prompted to enter a port number for the new game.

R13:

The range of port numbers that are permitted is 3000 to 5000.

R14:

Multiple games may be created in the same location at the same time and not interfere with one another.

R15:

The player is also prompted to choose a time limit and a name for the game.

R16:

The host player's location at the time the game is created becomes the throne room.

R17:

The new game randomly distributes crystals throughout the game area.

R18:

When the game environment is initially populated with crystals, a random number of random locations are populated with a random number of crystals up to 10.

R19:

Each other player is sent to a randomly chosen location.

R20:

Players have a set amount of time to reach the location to which they are sent.

R21:

If players do not reach their initial location within the specified time, they lose 1 energy point.

R22:

Magical items are cloaks, swords, keys, and rings, and are randomly distributed around the location.

R23:

Not more than one NPC is sent to any one location.

R24:

NPCs are randomly sent to locations.


Joining an Existing Game

R25:

To join a game, a player must be in contact with a player who is already a member of the game.

R26:

The new player should choose Join Existing from the Options menu.

R27:

They will then be prompted to enter the machine name or IP address of the other player's device.

R28:

The other player's device then sends the game state to the new player, allowing him or her to join.

R29:

When the player joins the game, he or she is asked to choose a player type.


Playing the Game

Object of the Game

R30:

The object of the game is to collect as many crystals as possible and return them to the throne room before the time limit expires and the game ends.

R31:

Crystals can be collected by discovering them in a location in the world, interacting with characters, or dueling other players for them.


Exploring the World

R32:

Players explore the world by walking around the game-play area.

R33:

They are unconstrained in their motion except that they cannot leave the game-play area.

R34:

When players leave the game-play area or select leave-game from the Options menu, they automatically lose the game and drop all the crystals they carry.

R35:

Dropped crystals are rescattered throughout the game area.

R36:

If a player's game device fails, as may happen in a power failure, the player can rejoin the game with the same number of crystals and the same game state as long as he or she restarts before the end of the game.


Entering Locations

R37:

Players lose energy faster while in a location: they lose two units per five-minute period.


Obtaining Crystals

R38:

If a player enters a location that has no players or characters in it, the player may pick up any crystals or magical items they see.

R39:

Otherwise, crystals can be obtained from characters or players according to the rules below.

R40:

Players gain 10 units of energy when the game begins.

R41:

As they proceed throughout the game, their energy dissipates by one unit for each five-minute period.

R42:

Energy is gained by two units when they find a crystal upon entering a location.


User Interface

R43:

The display on the device is split into three areas: information, world-map, and local-map.

R44:

All game information is shown to the player via his or her handheld device in the information area.

R45:

The amount of time remaining is shown in the information area of the device.

R46:

The player's energy level is shown in the information area of the device.

R47:

Game elements (crystals, NPCs, magical items, player representations) are all shown on the handheld device as colored dots with labels.

R48:

A count of crystals collected is shown in the information area.

R49:

Any magical items in possession are shown by colored dots in the information area.

R50:

The player can tap on the dots to see the options available.

R51:

The world-map is shown at all times.

R52:

The world-map shows a green dot at the player's own location on the map and a yellow dot at the location of crystals in the game.

R53:

Depending on the player's type, different kinds of information are shown on his or her world-map.

R54:

Sages are shown the locations of magical items as blue dots.

R55:

Wizards are shown locations of NPCs as purple dots.

R56:

Warriors are shown locations of players as red dots.

R57:

Once a player enters a location, a local-map is displayed on his or her handheld device.

R58:

The local-map shows a detailed view of the crystals and other magical items in the location.

R59:

Otherwise, the local- map is shown as blank.

R60:

The local-map also shows more detail about players and NPCs in the location.


Interaction Between Players

R61:

When two players meet upon entering a location, they perform a duel of rock, paper, scissors.

R62:

Each player wagers a crystal on the outcome of the duel.

R63:

If one player has no crystals they will wager the promise of the first crystal they find on the duel outcome, or they may wager two magical items in their possession.

R64:

A player may wager two crystals to force another player to wager a particular magical item in their possession.

R65:

If a player wagers two crystals for a magic item, then the other player is entitled to ask for a magic item instead.

R66:

Each player sees the other player's information in his or her own device's information area.


Interaction with Nonplayer Characters

R67:

When a player encounters a character, the character poses a challenge to that player.

R68:

The type of challenge depends on the character's type.

R69:

However, if a player meets a character of his or her same type, the character grants the player any crystals that it carries.

R70:

Players may be involved in only one duel at a time.

R71:

If there are both another player and an NPC in a location when a player arrives, the other player takes precedence over the NPC, and a duel occurs, followed by the challenge from the NPC.

R72:

Duel losers pay their debts immediately, or, if they cannot, their debts are automatically repaid when they become able.


Wizard

R73:

Wizards are magical beings.

R74:

When a player meets a wizard, the wizard sends the player to look for magical items hidden around the location.

R75:

Magical items may have already been picked up by a player; if so, that player must be located and challenged.

R76:

Players in possession of a target magical item are identified on the world-map.

R77:

Completing an errand successfully provides four units of energy to the player.


Warrior

R78:

Warriors respect physical prowess.

R79:

To win their crystal, they ask the player to run to a particular location and return within a certain time period.

R80:

When a player completes a physical test challenge successfully, they gain three units of energy and win a crystal.


Sage

R81:

Sages honor knowledge.

R82:

The sage asks a player a riddle, which, if answered correctly, is rewarded with a crystal.


Finishing the Game

R83:

Players must return to the throne room before the time limit expires and the game ends.

R84:

Failure to do so means that the player loses.

R85:

Of the players that do return in time, the one with the most crystals wins.

R86:

If more than one player has the same number of crystals, the one with more energy wins.

R87:

If more than one player has the same number of crystals and energy, then they must duel to decide which wins.


Additional Requirements

Some requirements are added through the course of Chapter 4's analysis process. They are included as follows:

R88:

Players that are wizards should have magical icons and terms displayed in their user interface.

R89:

When wizard characters meet players, they should speak to them using magical language.

R90:

If a wizard type player meets a wizard character, the wizard gives them any crystals the wizard carries.

R91:

If a sage type player meets a sage character, the sage gives them any crystals the sage carries.

R92:

If a warrior type player meets a warrior character, the warrior gives them any crystals the warrior carries.

R93:

Players can join an existing game.

R94:

Players can start a new game.




Aspect-Oriented Analysis and Design(c) The Theme Approach
Aspect-Oriented Analysis and Design: The Theme Approach
ISBN: 0321246748
EAN: 2147483647
Year: 2006
Pages: 109

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net