Beruflich Dokumente
Kultur Dokumente
PROPONENT
RANTAEL, JONATHAN T.
September 2019
INSTRUCTOR
ANGELA LOU A. MAULA
CHAPTER ONE: INTRODUCTION
In order to understand how a game works, the proposed project is about developing a
desktop application called Classic Tetris. Tetris has a particular logic called collision detection.
What collision detection in the game is to arrange the blocks based on how physically it should
move and stack. The aim of this research is to understand how collision detection and other
mechanics and rules of the game works.
1.3 OBJECTIVE
The main objective of the research is to create the proposed project and understand its
particular logic called collision detection:
a. To give entertainment
b. To enhance cognitive ability by playing the game.
c. To expand the knowledge in creating game applications.
The limitation of the game is that the modern collision where a certain piece can rotate
along with the stacked blocks as long as there is a potential space in the blocks that can occupied
by the piece, is not possible in the game.
CHAPTER TWO: REVIEW OF RELATED SYSTEM AND RELATED LITERATURE
The software used in developing the project proposed are the following:
● Programming language: Java JDK 8.2
● Integrated Development Environment(IDE): Netbeans 8.2
● Image Editor: Krita, Photoshop CS6
● Text Editor: Sublime Text 3
● Version Control: Github
Use case diagram shows the interaction of the player on the game system. Above, shows
that the player can only interact in adding a username, play the game and viewing the highscores.
The player is directly engaged in adding a username and viewing the highscores. Upon playing the
game, this area is expanded to several functionalities. The player can optionally resume, pause, or
quit in game. When the game reaches its end, the game must submit the score of the player to the
leaderboard.
Context Level Diagram
Context diagram shows only one external entity and one process node. On the left side is
an external entity named Player. Player sends the username, plays the game, and pushes the score
after the game. On the right side is a process node called Classic Tetris System. This process gets
what the player inputs and by the end of the game manages these inputs to rank the scores of the
players.
Data Flow Diagram
Main Window
Main window is the first the player will see after starting the game. There are four
components in the main window, select username combobox, play game button, highscore
button and exit button.
● Select Username Combobox - is where the player chooses username inside the
combobox.
● Play Game Button - when this button is clicked a new window will pop-up
which is the game itself.
● High Scores Button - shows the list players ranked according to their highest
scores.
● Exit Button - Close the main window.
Add Username
Add username name is found inside the select username combobox. Upon selection, a
dialog window will pop-up on the screen and ask for name to input.
High Scores
Highscore window will show when the highscore button is clicked. This window shows
the list of players ranked according to their highest score.
Play Game (Gameplay)
When the play game button is clicked the above image will pop-up. This is where they
play the game. The controls are shown on the bottom right corner and if the player wants to
pause the game there’s a text above the screen telling to press escape key if they want to pause.
Game Pause
When the escape key is pressed a small dialog window will pop-up. Inside this dialog
there are three buttons:
● Resume button - the game will continue after being paused.
● Retry button - the game will reset setting the score and line cleared to zero and
removing all the blocks stacked in the game area.
● Return to the menu button - the game will exit back to the main window.
Game Over
When the blocks reach the redline above a dialog will pop-up indicating that you lose the
game. Inside of this dialog is the score you earn after the game.
REFERENCE
https://www.retrogames.cz/play_1030-NES.php?language=EN
https://harddrop.com/wiki/Brick_Game
https://tetris.com/product/3/tetrisreg-battle
https://harddrop.com/wiki/Tetris_Ultimate
https://harddrop.com/wiki/Tetris_(PS3)