Anda di halaman 1dari 10

A PROJECT REPORT

ON

GAME HOLLYWOOD-
BOLLYWOOD

Submitted By:

Savan patel

GUIDE:

MISS. SIDDHI J. JOSHI


LECTURE
Information Technology Dept.
Dharmsinh Desai University,
Nadiad.

CONTENTS

1
ACKNOWLEDGEMENT

GAME HOLLYWOOD-BOLLYWOOD

1. Introduction 3
What is GAME HOLLYWOOD-BOLLYWOOD? 3

2. System Requirement & Design 4


2.1System Requirements 4
2.2Design 4

3. Game On Play 7
3.1 Input/Output Design 7

CONCLUSION
10

Ch. 1 INTRODUCTION
2
What is GAME HOLLYWOOD-BOLLYWOOD?

Dumb Shellas may be a substituted like Synonym for this Game. The only
difference is of the silent act in Dumb Shellas and here the Clue you get is
of the number of characters of the movie and dictionary meaning if
requested given by opposite player on permission.

It is a two player Game. The 1st player has to choose the name of the
movie which he thinks would be complex for the 2nd player to guess with
ease. The 2nd player now stands the turn to make his guesses for the
correct movie. The Game has a negative point giving bug which restricts
the 2nd player to few chances which is to be obvious. 2nd player get a
limited of only 9 turns to the maximum, if your guess is correct the correct
letter will be displayed in the next turn on whichever position that correct
letter stands position. The holding of 2nd player now holds good position as
his turn is saved. The next turn you have to again pick your guesses again
till you complete the movie name. The dictionary meaning is not sure to
get for the whole as per the rules.

This Game was first put as a LAN application so the meaning is to be given
by the player on other side, so here that facility is not availed except by
mutual understanding of two players verbally.

3
Ch2-SYSTEM
REQUIREMENTS
&DESIGN
2.1 SYSTEM REQUIREMENT

Now, it’s obvious to be made with help of TASM editor supporting x86.
Windows OS which supports in TASM editor in all modes. Preferential are
Win XP and 32 bit Win VISTA.

2.2 DESIGN

The Data segment and Code segment contains the details as per
requirement.

 The initial Instructions are given in DATA SEGMENT for ease.

 The values to be used for the characters to hide with a substitute


symbols and others variables are declared by then later in the segment.

 The procedure for Player 1 to enter the movie name now begins. Player
1 now has to enter the name of the desired movie.

The movie name is now to be stored and convert into symbolic


Representation to be

Hidden from 2nd player on the next page.

4
the moviename is stored in the register after calculating the Length of
the name.

Then the characters are hidden one by one as per in the declaration of
procedure done in

HIDECHAR, NEXTCHAR and SKIPHIDECHAR taking the characters one by


one and hiding

It with the continuation of the loop.

MOV CL, MOVIENAMELEN


MOV CH, CL

LEA SI, MOVIENAME+2


MOV BX, 0

NEXTCHAR:
MOV AL, [SI]
CMP AL, 20H
JNE HIDECHAR

DEC CH
MOV DL, SEPARATOR
MOV TEMP[BX], DL

CMP HIDECHARFLAG, 0
JE SKIPHIDECHAR

HIDECHAR:
MOV DL, HIDINGCHAR
MOV TEMP[BX], DL

SKIPHIDECHAR:
INC SI
DEC CL
INC BX
CMP CL, 00H
JNE NEXTCHAR

MOV TEMP[BX], '$'


MOV CHARCOUNTER, CH

5
As seen above the characters are hidden and the on the next page the
hidden characters are displayed.

Now, comes the realtime for the 2nd player to make his guesses to go
through his luck.

GUESSLOOP:
MOV CL, VALIDGUESSCOUNTER
CMP CL, CHARCOUNTER
JE PLAYER2WINS_01

MOV AH, MOVIENAMELEN


MOV COMPARECOUNTER, AH
MOV INVALIDGUESSCOUNTER, 0

CALL NEWLINEPROC
MOV DX, OFFSET PLAYER2
MOV AH, 09H
INT 21H

MOV DX, OFFSET GUESSMSG


MOV AH, 09H
INT 21H

MOV AH, 01H


INT 21H
LEA SI, MOVIENAME+2
LEA DI, TEMP

COMPARELOOP:
CMP CL, CH
JE PLAYER2WINS_01

MOV DH, [SI]


CMP DH, 20H
JNE COMPARECHAR
INC SI
INC DI
DEC COMPARECOUNTER

The next loop comes after this is to compare the character entered by
the player with the original string stored.

6
As said above it then displays the letter in the string wherever it holds
gravity keeping other letters secret, which is what the game is about.

if the guess is wrong one chance of the player goes in flaw from the
chances he stands.

It displays #HOLLYWOOD, on wrong Guess ##OLLYWOOD, again wrong it


gived ###LLYWOOD and gradually take the player to his fate.

If all the turns gets off PLAYER 1 wins and the message is displayed else
otherwise viceversa for PLAYER 2 and the concerned message is
displayed.

Ch.3 GAME ON PLAY


3.1 INPUT/OUTPUT
1. The basic instructions and rules are given.

2. The next step is to enter the movie name by the player 1.

Suppose it to be “LORD OF THE RINGS”

7
3. Now comes the reatime in game for the player 2.

The hidden character as per length is displayed and player2 stands the
chance.

4. On positive entrance of letter is as follows

8
The correct letters on position are displayed.

5. On negative turn it gives as follows ::

6.The player 2 wins if all guesses are correct within 8 wrong chances.

9
The player then wins the GAME.

CONCLUSION
The application of TASM editor may be substituted to make this kind
of application. This way low budget application may gain market lights.

10

Anda mungkin juga menyukai