DOC PREVIEW
Columbia CSEE 4840 - Network Clue Game

This preview shows page 1-2-3-4-5-6-7-8-9-60-61-62-63-64-65-66-67-121-122-123-124-125-126-127-128-129 out of 129 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 129 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Network Clue Game Gaurav Gupta, Khalef Hosany, Sampada Sonalkar, Thomas Mwakibinga CSEE 4840 Embedded System Design Spring 2007Table of Contents 1. Introduction 2. Game Design a. Board layout b. User-Interface 3. Software-level Design 4. Hardware-level Design a. Networking b. Video Display (i) Architecture (ii) Video Memory (Sample Video Screen) 5. Implementation Details 6. Reflections 7. Appendix a. C-code b. VHDL code1. Introduction CLUE is a crime fiction board game that tests the analytical skills of the players. The game is set in a mansion represented by a board divided into different rooms. The players each represent a character staying at this house as a guest. The owner of the mansion has been murdered and the aim of the game is to solve the crime scenario Players take on the role of the suspects and attempt obtain the combination of the suspect, the weapon and the murder room and this effectively re-enacts the murder scene. There are 6 weapons, 6 suspects and 9 rooms. At the beginning of play, three cards—one Suspect, one Weapon, and one Room card—are chosen at random and put into a special envelope, so that no one can see them. These cards represent the true facts of the case. The remaining cards are distributed among the players and the game can be played by 3-6 people at a time. The choice of clue was an interesting one for this project as it involves the need for a UI and a way for users to see their cards without other players seeing them. Ideally thus, this game needs to be played on different workstations and brings about the concepts of having both networking and video display capabilities on an embedded system The aim of the game is to deduce the details of the murder—that is, the cards in the envelope. This is done by announcing suggestions to other players. An example of a suggestion is, "I suggest it was Mrs. White, in the Library, with the Rope." All elements contained in the suggestion are moved into the suggested room (so in this case Mrs. White and the Rope would be moved to the Library). The other players must then disprove the suggestion, if they can. This is done in clockwise order around the board. A suggestion is disproved by showing a card containing one of the suggestion components to the player making the suggestion (for example, the Rope), as this proves that the card cannot be in the envelope. Showing the card to the suggesting player is done in secret so the other players may not see which card is being used to disprove the suggestion. Once a suggestion has been disproved, the player's turn ends and moves onto the next player.This thus makes the game solvable by trial and error. But the true aim of Clue is to be able to solve it as quickly as possible, and so it also involves a lot of careful thinking and inference.2. Game Design The design consists of a hardware module for displaying the game board and user interface on the monitor, and a software module for controlling the play and exchanging information among players. a) Board Design The board occupies 480x480 pixels on the screen. It is laid out as a 20x20 grid of tiles. Each tile has size 24x24 pixels. Figure 1 shows the layout of rooms and pathways on the board. It also includes information on location of doors and secret passageways. Figure 1 Board layoutb) User Interface Design The user interface area is a 160x480 pixel area on the right side of the game board in the display. The interaction is with the help of the Enter and I (up), J (left), K (right), and M (down) keys on the keyboard. The layout of the UI is as shown in Figure 2. Figure 2 User interface layout The top most area displays the player‘s cards and an addition ―No card‖ space. The play options area displays the four play options. The suggestion area has a list of all suspects, weapons, and rooms to pick from during suggestion, disproval and accusation. The message area displays suggestions/disprovals of other players. Card 1 Card 2 Card n Player cards Suggestion area Roll Dice Suspects Weapons Rooms Play Options Which player’s turn? Card holder Card Message area Secret Passage Suggestion Accusation3. Software design The organization of the game logic is as shown in Figure 3. The game logic controls the game play and interfaces the keyboard, video display and the networking components. Figure 3 Software Organization The game logic needs to perform the following tasks 1. Initial setup: a. The game board is a 20*20 tile board with 9 rooms connected by passages. b. The game logic displays the sign-in screen and allows the player to select a character for play. It also sets up the turns for players. c. It randomly picks a suspect card, weapon card, and room card and puts it away in the confidential case file. d. The remaining cards are evenly distributed among players e. The weapons are placed in different rooms and characters are positioned in the start position. 2. Game play: The game logic enforces the following rules of play: a. The players take turns to roll the dice. The game logic determines who plays next. b. When the dice is rolled a random number between 2-12 is generated by the system. c. The player may move the number of squares using horizontal, vertical, forward or backward moves; diagonal moves are not allowed. The player is not allowed to enter the same square twice on the same turn. The player is not allowed to enter on a square occupied by another character pawn. d. The player is allowed to enter a room only through an open door. Game Board + Logic Video display (Memory) Keyboard Networke. The player cannot enter a room if its doorway is blocked by another character pawn. Also, the player cannot leave a room if the doorway is blocked by another pawn. f. The player cannot re-enter a room on the same turn. g. On entering a room, the player can make a suggestion by moving a Suspect and Weapon into that room. h. After the suggestion is made, the opponents try to disprove the suggestion by showing a card from their hand. i. In the next round the player may choose to roll the dice and exit the room or to take the secret passageway to another room. j. If a player‘s character pawn was moved to a room while making a suggestion, the player could choose to make a suggestion from that room or roll the dice and exit the room. 3. Making an Accusation: A player can make an


View Full Document

Columbia CSEE 4840 - Network Clue Game

Documents in this Course
SPYCAM

SPYCAM

91 pages

PAC-XON

PAC-XON

105 pages

lab 1

lab 1

6 pages

memory

memory

3 pages

Structure

Structure

12 pages

Video

Video

3 pages

pacman

pacman

4 pages

Lab 1

Lab 1

6 pages

Scorched

Scorched

64 pages

lab 1

lab 1

3 pages

Video

Video

22 pages

Memory

Memory

23 pages

DVoiceR

DVoiceR

29 pages

MAZE

MAZE

56 pages

PAC XON

PAC XON

13 pages

PACXON

PACXON

13 pages

MP3 Player

MP3 Player

133 pages

Load more
Download Network Clue Game
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Network Clue Game and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Network Clue Game 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?