Skip to content

Some projects according to the rules of the Object Calisthenics

License

Notifications You must be signed in to change notification settings

pa-ssch/Object-Calisthenics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OC - Object Calisthenics

All projects in this repository comply with the rules for the object calisthenics:

  1. Only one level of indentation per method
  2. Don’t use else, else if or switch/case
  3. Wrap all primitives and strings
  4. Only one method call per line
  5. Don't abbreviate variable names
  6. Keep all entities small (~50 Lines, <= 10 classes per Folder)
  7. Maximum 2 instance variables per class
  8. First Class Collections (A collection or other instance variables, not both)
  9. No getters, setters or other constructs to read data from a class

GOL: Game of life

Conway's Game of Life as a console application

MS: Minesweeper with UI

Classic Minesweeper with a Windows Forms UI

TBA: MS_CLI: Minesweeper (Console)

Classic Minesweeper as a console application

WIP: TIE: Take it easy (Hextension)

Strategic board game by Peter Burley. Implemented mainly with GDI+ basic graphics functionality.

About

Some projects according to the rules of the Object Calisthenics

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages