OOTetris Design

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
(New page: ==Introduction== During my Bachelor studies in Germany I had to implement a network based Tetris. It is possible to run the game with many players on different computers in a network. It ...)
 
(The current Design)
Line 3: Line 3:
 
During my Bachelor studies in Germany I had to implement a network based Tetris. It is possible to run the game with many players on different computers in a network. It runs quite smoothly although the design in general is quite messy. The Design we came up with was more or less guided by the our progress on programming different parts of the game. So we started out with the Server-Client Communication. After the basic communication was achieved we started implementing the tetris game itself with its graphical user interface and the gamestructure.  
 
During my Bachelor studies in Germany I had to implement a network based Tetris. It is possible to run the game with many players on different computers in a network. It runs quite smoothly although the design in general is quite messy. The Design we came up with was more or less guided by the our progress on programming different parts of the game. So we started out with the Server-Client Communication. After the basic communication was achieved we started implementing the tetris game itself with its graphical user interface and the gamestructure.  
  
==The current Design==
+
==The current design==
  
The current Design
+
[[Image:TetrisDesign1.jpg]]
 +
 
 +
The current design consists out of 5 different packages as you can see in the UML-Diagram above:
 +
 
 +
*The green package in the UML-Diagram is responsible for the Server-Client communication.
 +
*The pink package controls the game. Thats where the game intelligence is implemented.
 +
*The blue package is obviously the graphical user interface.
 +
*The red package contains the different stones of the tetris game.
 +
*The yellow package is a customized list which is used to the store the stones of every client.

Revision as of 05:18, 1 September 2008

Introduction

During my Bachelor studies in Germany I had to implement a network based Tetris. It is possible to run the game with many players on different computers in a network. It runs quite smoothly although the design in general is quite messy. The Design we came up with was more or less guided by the our progress on programming different parts of the game. So we started out with the Server-Client Communication. After the basic communication was achieved we started implementing the tetris game itself with its graphical user interface and the gamestructure.

The current design

TetrisDesign1.jpg

The current design consists out of 5 different packages as you can see in the UML-Diagram above:

  • The green package in the UML-Diagram is responsible for the Server-Client communication.
  • The pink package controls the game. Thats where the game intelligence is implemented.
  • The blue package is obviously the graphical user interface.
  • The red package contains the different stones of the tetris game.
  • The yellow package is a customized list which is used to the store the stones of every client.
Personal tools