pa-ssch / Object-Calisthenics

Some projects according to the rules of the Object Calisthenics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:C# 100.0%