Java write a Tetris, the interface feel can also, the interface spent more time, mainly used to learn the MVC pattern design in the design of view
Source code: http://download.csdn.net/detail/u014494705/8219333
Steering wheel Control, button pause, start
The design pattern of the software MVC:
M:model model
V:view view (user interface)
C:control Controller
Small Game notes:
(1) Package name: cn.com. Name of the company. Name of the project. Functional classification
(2) Package classification:
UI Presentation Layer
Service User Logic layer (this time is useless)
DAO data Access (this time only for learning graphical interface, so the user logic is written in the data access layer)
Entity entities (including blocks, etc.)
DTO data carrier (including blocks, etc.)
Main start
Util tools or other people tools (this time no use)
Config configuration (this time is useless)
JAVA Tetris (source code for communication)