Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 737 Bytes

DeveloperGuide.md

File metadata and controls

39 lines (33 loc) · 737 Bytes

For developer (naming guide)

1. Funtion naming

Naming like MainCategory_SubCategoryVerbObject
Ex) Map_DrawScore()
Exception : Simply checking value or widely acceptable name ex) enQueue

1. MainCategory List

  • Map
    Draw Scoreboard or GameMap
  • Game
    Draw inGame
    (Snake,Fruit Not wall)

2. SubCategory List

  • Map
    • Menu
    • Gamemap
  • Game
    • Key
      Getting keyboard buffer or Setting key variable
    • Play
      About inGame funtions i.e. inGame algorithm

2. Variable naming

Camel case
Ex) maxScore


3. Structure

Pascal case
Ex) SnakePos


4. Comment

DO NOT add comment end of line,
Please write down another line.