NAME OF C PROJECT : FIND THREE GAME TEAM MEMBERS : DOĞAN EMRE ÜLKÜ DENİZ NURAN BURAK ALP...
-
Upload
maggie-patchin -
Category
Documents
-
view
221 -
download
2
Transcript of NAME OF C PROJECT : FIND THREE GAME TEAM MEMBERS : DOĞAN EMRE ÜLKÜ DENİZ NURAN BURAK ALP...
NAME OF C PROJECT :FIND THREE GAME TEAM MEMBERS :DOĞAN EMRE ÜLKÜDENİZ NURANBURAK ALP KAPUSUZOĞLU
1,1 1,2 1,3 1,4 1,5
2,1 2,2 2,3 2,4 2,5
3,1 3,2 3,3 3,4 3,5
4,1 4,2 4,3 4,4 4,5
5,1 5,2 5,3 5,4 5,5
PROJECT DESCRIPTION In this project, it is wanted to create a game which is named “Find Three”.• The game has 3 difficulty levels. Also it has 3 different
matrix : Easy (5x5), Medium (10x10),Hard(25x25) matrix(Figure 1) . (In this part-preferring difficulty level(easy, medium or hard)- we used switch case)
(For instance the size of this matrix is : 5x5).
(Figure 1)
• In addition to this each matrix must contain “5 units 1” and the remainder part must contain “0”. (We used random for assignment).
(Figure 2)
• The game plays with two players. Application want to enter coordinate from the players.
(For example : < 3,1 >)(Figure 3) 1,1 1,2 1,3 1,4 1,5
2,1 2,2 2,3 2,4 2,5
3,1 3,2 3,3 3,4 3,5
4,1 4,2 4,3 4,4 4,5
5,1 5,2 5,3 5,4 5,5
0 0 0 0 0
0 1 0 0 0
0 0 1 0 0
1 0 0 0 1
0 1 0 0 0
Game rules :1) First of all player should choose difficulty level. (easy,medium,hard)2) Players cannot enter the same area (previous area).3) To be winner, player must find the hidden 1.4) The player who find 3 unit 1, is winner.
GOOD LUCK EVERYONE
FUNCTIONALITIES OF THE PROGRAM
Tools Used For Project• Dev - C ++ 5.6.2 was used for this program.
Libraries Used For Project• include<stdio.h>(printf,scanf,switch-case,if-
else,for)• include<conio.h>(getch())• include<stdlib.h>(system(“mode 120”))• include<time.h>(srand(time(NULL)))
The Parts Of Source Code1 ) For Introduction:
2 ) Choosing Part (easy-medium-hard):3 ) For Easy :
3.a) Creating Table:
3.b) To Enter Area:
3.c) For Score:
3.d) For Play Again Or Exit:
4 ) For Medium:
4.a) Creating Table:
4.b) To Enter Area:
4.c) For Score:
4.d) For Play Again Or Exit:
5 ) For Hard :5.a) Creating Table:
5.b) To Enter Area:
5.c) For Score:
5.d) For Play Again Or Exit:
SOURCE1) www.cdoganemre.jimdo.com
2) C HOW TO PROGRAM –«PAUL DEITEL – HARVEY DEITEL»
WORK DISTRIBUTION
Writing Source Code: Doğan Emre ÜLKÜ
Graphic and Report : Deniz NURAN
Arrangement : Burak Alp KAPUSUZOĞLU