Difference between revisions of "Skynet"

From CDOT Wiki
Jump to: navigation, search
(Issue description and/or number (1))
(0.4 Milestone)
 
(16 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
</big>
 
</big>
 
== Repository ==
 
== Repository ==
* repo Github id:
+
* repo Github id: [https://github.com/Seneca-OOP344/III-SkyNet III-SkyNet]
 +
 
 
== Team Members ==
 
== Team Members ==
 
{| class="wikitable sortable" border="1" cellpadding="5"
 
{| class="wikitable sortable" border="1" cellpadding="5"
Line 21: Line 22:
 
|[[User:Kanghoon Park|Kanghoon]]||Park||B||[mailto:kpark27@myseneca.ca?subject=oop344 kpark27]||[http://github.com/kpark27 kpark27] ||[[Special:Contributions/Kanghoon Park|Kanghoon Park]]||kpark27|| [http://kpark27.blogspot.ca/ Kang's Blog]
 
|[[User:Kanghoon Park|Kanghoon]]||Park||B||[mailto:kpark27@myseneca.ca?subject=oop344 kpark27]||[http://github.com/kpark27 kpark27] ||[[Special:Contributions/Kanghoon Park|Kanghoon Park]]||kpark27|| [http://kpark27.blogspot.ca/ Kang's Blog]
 
|-
 
|-
|[[User:Matthew Scott Torrance | Matthew]]|| Torrance || B || [mailto:mstorrance@learn.senecac.on.ca?subject=oop344 mstorrance] || [http://github.com/mstorrance mstorrance] || [[Special:Contributions/Matthew Scott Torrance | Matthew Scott Torrance]] || mstorrance  ||[http://objectorientedp344.blogspot.ca/ Matt's Blog]
+
|<del>[[User:Matthew Scott Torrance | Matthew]]</del>|| <del>Torrance</del> || <del>B</del> || <del>[mailto:mstorrance@learn.senecac.on.ca?subject=oop344 mstorrance]</del> || <del>[http://github.com/mstorrance mstorrance]</del> || <del>[[Special:Contributions/Matthew Scott Torrance | Matthew Scott Torrance]]</del> || <del>mstorrance</del> ||<del>[http://objectorientedp344.blogspot.ca/ Matt's Blog]</del>
 
|-
 
|-
 
|[[User:Dyllon Da Silva Ricardo | Dyllon]]|| Ricardo || A || [mailto:ddricardo@myseneca.ca?subject=oop344 ddricardo] || [http://github.com/Dyllon-R Dyllon-R] || [[Special:Contributions/Dyllon Da Silva Ricardo | Dyllon Da Silva Ricardo]] || Dyllon-R || [http://dyllstechblog.blogspot.ca Dyll's Tech Blog]
 
|[[User:Dyllon Da Silva Ricardo | Dyllon]]|| Ricardo || A || [mailto:ddricardo@myseneca.ca?subject=oop344 ddricardo] || [http://github.com/Dyllon-R Dyllon-R] || [[Special:Contributions/Dyllon Da Silva Ricardo | Dyllon Da Silva Ricardo]] || Dyllon-R || [http://dyllstechblog.blogspot.ca Dyll's Tech Blog]
Line 34: Line 35:
  
 
==Issues and Status ==
 
==Issues and Status ==
==== 0.2 Milestone (Due Fri 9th)====
+
===Issue Name Format===
# Add console class to project and test with cio_test  (issue 1)  
+
Issue and branch name format:<br />
 +
V.V_Name <br />
 +
==== 0.6 Milestone ====
 +
# CText (0.6.1)
 +
# CheckList (0.6.2)
 +
==== 0.4 Milestone (COMPLETED) ====
 +
# CButton (0.4.1)(Assigned to Kang, reviewed by Michael)
 +
# CValEdit (0.4.2)(Assigned to Michael, reviewed by Kang)
 +
# CCheckMark (0.4.3)(Assigned to Dyllon and Bruno, reviewed by Michael)
 +
 
 +
==== 0.3 Milestone (COMPLETED) ====
 +
:Due along with 0.4 milestone
 +
# CField, Dialog and Label (0.3.1)(Assigned to Michael, Kang, Bruno)
 +
# line Edit (0.3.2)(Assigned to Bruno, Kang and Dyllon, reviewed by Michael)
 +
==== 0.2 Milestone (COMPLETED) ====
 +
# Add console class to project and test with cio_test  (issue 1) (Assigned to Michael, reviewed by Kang)
 
# Create Mock-up classes
 
# Create Mock-up classes
 
#: Create the class files (header and cpp) with blank methods and make sure they compile
 
#: Create the class files (header and cpp) with blank methods and make sure they compile
## CField Mock-up Class (issue 2.1)
+
## CField Mock-up Class (issue 2.1) (Assigned to Michael, reviewed by Kang)
## CLabel Mock-up Class (issue 2.2)
+
## CLabel Mock-up Class (issue 2.2) (Assigned to Kang, reviewed by Michael)
## CDialog Mock-up Class (issue 2.3)
+
## CDialog Mock-up Class (issue 2.3) (Assigned to Bruno, reviewed by Michael)
## CLineEdit Mock-up Class (issue 2.4)
+
## CLineEdit Mock-up Class (issue 2.4) (Assigned to Dyllon, reviewed by Bruno)
## CButton Mock-up Class (issue 2.5)
+
## CButton Mock-up Class (issue 2.5) (Assigned to Dyllon, reviewed by Bruno)
## CValEdit Mock-up Class (issue 2.6)
+
## CValEdit Mock-up Class (issue 2.6) (Assigned to Michael, reviewed by Dyllon)
## CCheckMark Mock-up Class (issue 2.7)
+
## CCheckMark Mock-up Class (issue 2.7) (Assigned to Bruno, reviewed by Dyllon)
## CText  
+
## CText (Assigned to Kang, reviewed by Michael)
 
### Add Text Class to the project (issue 2.8.1)
 
### Add Text Class to the project (issue 2.8.1)
 
### CText Mock-up Class (issue 2.8.2)
 
### CText Mock-up Class (issue 2.8.2)
## CCheckList Mock-up Class (issue 2.9)
+
## CCheckList Mock-up Class (issue 2.9) (Assigned to Bruno, reviewed by Michael)
  
==== Issue description and/or number (2)====
+
== Coding Rules ==
* Assigned to: [mailto:EMAILID@myseneca.ca FULLNAME]
+
# Pointer/reference always beside datatype (int* a; or int& a;)
* Code review by: [mailto:EMAILID@myseneca.ca FULLNAME]
+
# Only one data definition per line (int a; NOT int a, b;)
* Status:
+
# FOUR spaces instead of tab for indentation
*: (being developed/pull request/being reviewed/pushed to master)
+
#: Steps in visual studio
* comments:
+
## Tools > Options
*:
+
## Click: Text Editor, All Languages, Tabs
 +
## Make sure
 +
### Indenting: none needs to be selected
 +
### Tab size: 4
 +
### Indent size: 4
 +
### Insert spaces selected
 +
# Always have curly braces even when the code block is one line
 +
# Header name: _SKYNET_CLASSNAME_H_ (eg. _SKYNET_CFIELD_H_)
 +
# Commenting
 +
## before every functions, write what the function does
 +
## end of a long code block
 +
## any code which may be confusing for others review
 +
Sample Code
 +
    // function to display a string of characters based on field length
 +
    void Console::display(const char* str, int row, int col, int fieldLen){
 +
        console.setPos(row,col);
 +
        if (fieldLen){
 +
            int i=0;
 +
            for (;i<fieldLen && str[i];i++){
 +
                this->putChar(str[i]);
 +
            }
 +
            for (;i<fieldLen;i++){
 +
                this->putChar(' ');
 +
            }
 +
        }
 +
        else{
 +
            (*this)<<str;
 +
        }
 +
    }
  
== Coding Rules ==
 
 
== meetings ==
 
== meetings ==
 
* latest will be on top
 
* latest will be on top

Latest revision as of 19:53, 24 November 2012


OOP344 | Weekly Schedule | Student List | Teams | Project | Student Resources

Team Name (Skynet)

Project Marking Percentage

Group work:      50%
Individual work: 50% +
-------------------------
Total           100%

Repository

Team Members

Team Name (Skynet)
First Name Last Name Section Seneca Id Github ID wiki id IRC nick Blog URL
Michael Wang B mmwang2 MichaelMWang Michael Mengyuan Wang mekko Michael's Blog
Bruno Pereira B bpereira5 bpereira5 Bruno Pereira bpereira Open Source
Kanghoon Park B kpark27 kpark27 Kanghoon Park kpark27 Kang's Blog
Matthew Torrance B mstorrance mstorrance Matthew Scott Torrance mstorrance Matt's Blog
Dyllon Ricardo A ddricardo Dyllon-R Dyllon Da Silva Ricardo Dyllon-R Dyll's Tech Blog

Issues and Status

Issue Name Format

Issue and branch name format:
V.V_Name

0.6 Milestone

  1. CText (0.6.1)
  2. CheckList (0.6.2)

0.4 Milestone (COMPLETED)

  1. CButton (0.4.1)(Assigned to Kang, reviewed by Michael)
  2. CValEdit (0.4.2)(Assigned to Michael, reviewed by Kang)
  3. CCheckMark (0.4.3)(Assigned to Dyllon and Bruno, reviewed by Michael)

0.3 Milestone (COMPLETED)

Due along with 0.4 milestone
  1. CField, Dialog and Label (0.3.1)(Assigned to Michael, Kang, Bruno)
  2. line Edit (0.3.2)(Assigned to Bruno, Kang and Dyllon, reviewed by Michael)

0.2 Milestone (COMPLETED)

  1. Add console class to project and test with cio_test (issue 1) (Assigned to Michael, reviewed by Kang)
  2. Create Mock-up classes
    Create the class files (header and cpp) with blank methods and make sure they compile
    1. CField Mock-up Class (issue 2.1) (Assigned to Michael, reviewed by Kang)
    2. CLabel Mock-up Class (issue 2.2) (Assigned to Kang, reviewed by Michael)
    3. CDialog Mock-up Class (issue 2.3) (Assigned to Bruno, reviewed by Michael)
    4. CLineEdit Mock-up Class (issue 2.4) (Assigned to Dyllon, reviewed by Bruno)
    5. CButton Mock-up Class (issue 2.5) (Assigned to Dyllon, reviewed by Bruno)
    6. CValEdit Mock-up Class (issue 2.6) (Assigned to Michael, reviewed by Dyllon)
    7. CCheckMark Mock-up Class (issue 2.7) (Assigned to Bruno, reviewed by Dyllon)
    8. CText (Assigned to Kang, reviewed by Michael)
      1. Add Text Class to the project (issue 2.8.1)
      2. CText Mock-up Class (issue 2.8.2)
    9. CCheckList Mock-up Class (issue 2.9) (Assigned to Bruno, reviewed by Michael)

Coding Rules

  1. Pointer/reference always beside datatype (int* a; or int& a;)
  2. Only one data definition per line (int a; NOT int a, b;)
  3. FOUR spaces instead of tab for indentation
    Steps in visual studio
    1. Tools > Options
    2. Click: Text Editor, All Languages, Tabs
    3. Make sure
      1. Indenting: none needs to be selected
      2. Tab size: 4
      3. Indent size: 4
      4. Insert spaces selected
  4. Always have curly braces even when the code block is one line
  5. Header name: _SKYNET_CLASSNAME_H_ (eg. _SKYNET_CFIELD_H_)
  6. Commenting
    1. before every functions, write what the function does
    2. end of a long code block
    3. any code which may be confusing for others review

Sample Code

   // function to display a string of characters based on field length
   void Console::display(const char* str, int row, int col, int fieldLen){
       console.setPos(row,col);
       if (fieldLen){
           int i=0;
           for (;i<fieldLen && str[i];i++){
               this->putChar(str[i]);
           }
           for (;i<fieldLen;i++){
               this->putChar(' ');
           }
       }
       else{
           (*this)<<str;
       }
   }

meetings

  • latest will be on top
  1. topic and date1
  2. topic and date2

discussions