Coder Social home page Coder Social logo

sqls's Introduction

SQLS项目小组

组员:

  • STY
  • QBT
  • LK
  • SYX

项目选题:

  • 泡泡堂

项目进度:

  • 环境配置
  • 初步入门
  • 尝试编写小游戏
  • 讨论架构
  • 完成demo
  • 完善功能
  • 代码重构
  • 网络对战功能搭建
  • 游戏UI美化
  • 优化游戏整体体验

基础功能:

  • 地图绘制,人物绘制,水泡绘制
  • 鼠标和键盘操作交互
  • 支持障碍物
  • 支持泡泡放置与动画
  • 支持三种基本增强道具
  • 支持动画效果
  • 实现服务端

扩展功能:

  • 支持多个角色
  • 支持多个地图
  • 支持房间列表
  • 支持聊天

C++特性使用情况:

  • 初始化列表
  • 类型推断
  • 基于范围的for循环
  • Lambda表达式
  • 智能指针

SQLS项目规范

请开始之前,请阅读编程的智慧,规范自己的习惯。

##花括号:

规定花括号放置的位置

  • 主要包括 if条件语句,函数体:
    1. 使用if条件判断必须使用花括号,不允许单行不使用括号.

    2. 另起一行放置括号(Lambda表达式除外).

##功能块间距: 杜绝所有的代码之间没有任何回车!!

  • 主要包括不同函数defination之间与函数内部不同功能块之间的空行:
  1. 不同函数体之间至少有三行回车.

  2. 注释与上一行代码之间至少有一行空行,即不允许出现 代码-注释-代码 紧紧相邻的情况.

  3. 同一函数功能类似的代码应该用多个空行隔开,便于阅读.

##Coding: 建立自己的本地Git仓库,请使用命令行进行上传代码

  • 主要包括建立自己的branch与一些上传的规范

    1. 请保证每次push的质量, 严禁只改两三行就commit(除非是上次push时的版本有重大bug或过程当中发生了疏忽导致版本存在严重问题),在没有接近DDL之前,以后这种行为视为刷commit.

    2. 上传的描述统一使用中文 .

    3. 练习使用Git请使用Github上的SQLS.

    4. 及时pull,检查自己修改的版本是不是基于远程仓库上的最新版本.

    5. 上传时请检查文件路径,不要把文件上传到错误的文件夹或是上传了本地的其他临时文件.

##注释: 请使用英文注释

  • 相似功能块之间可以用 //===The Name of The Function Block==== 与其他功能隔开,比如水泡的爆炸,人物的移动等.
  • 如果有现阶段无法完成,但是需要在以后所进行完善的地方,请标注//=========== To Do : Add xxxxx ============
  • 在新的功能函数前,如果函数名不能讲清楚函数的作用,请写明这个函数的主要用途。当输入输出的变量名难以解释它的含义时,也请标注出来。(如输入内容为int role,则建议标注一下role为何值的时候代表哪个role,如果传入为std::string role时,则无需额外标注)。

sqls's People

Contributors

moonlor avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.