Object-oriented software engineering and engineering teams work --- 3

One. Code specification and coding principles

1. Code style specification: The main provisions of the text, it seems superficial, but in fact is very important.

   Principles of the code style specification: concise, easy to read, unambiguous

   Indent: four spaces away from the readability, the just .

   Parenthesis: complex conditional expressions in parentheses indicates clearly the priority logic.

   Name: try to use simple and easy to understand naming, to avoid excessive descriptions and qualifiers.

   Notes: conduct of complex modules comment to read and pay attention to regulating

2. Code design specifications: general principles involved in all aspects of the programming, the relationship between the modules, module design.

     Function: only one thing, and to do

3. Code review: to see whether the code correctly solve the problem within the framework of the code specifications.

   The purpose of the code review:

     1. Identify the error code

     2. find logic errors, the program can compile, but the logic of the code is wrong 

     3. The discovery algorithm error, such as the use of the algorithm is not optimal, it did not deal with the boundary conditions, etc.  

     4. identify potential errors and regression errors resulting in a current modification before repairing defects appeared again

     The finding may need improvement

     6. Education (mutual education) developers, investment and transfer of experience, so that more members are familiar with the code of each part of the project, while familiar with practical knowledge and application related

two. Database Design

three. The project team ER diagram

四.团队项目主要功能流程描述
       我们小游戏的首页有三个页面,都是一些非物质文化遗产的图片以及一些文字。在浏览完这三个页面之后会进入下一页。此页页面底部有三个按钮,第一个是主页。主页顶部有一个搜索框,可以帮助用户快速找到自己想要了解的省份的非遗文化。页面底部第二个按钮所示界面是我们游戏的答题库,点击可以进入正式的答题页面。页面底部第三个按钮是个人主页,可以在此页面查看积分,设置登录名等。进入答题时首先会出现一个背景介绍,简略地介绍了我们设计这个游戏的背景。点击下一步将会出现一个地图供用户选择省份,同时也有一个搜索框让用户快速搜索,选好省份之后正式进入答题界面,我们会为用户提供一些关于某一个省份的非遗文化的题目,用户答对会有积分,答错会有对问题详细的解释说明。最后在打完所有题目之后会得到一个总积分,然后退回到选择省份的页面。此时用户可以在积分足够的情况下选择下一关,或者在积分未过关时选择重新开始上一轮的答题。

五.分工及贡献分

  

 

Guess you like

Origin www.cnblogs.com/Sonam/p/10963167.html