C++ training with imperative calisthenics
Inspired by a workshop I attended at Softwareschneiderei, this is a super simple Minesweeper implementation based on the Imperative Calisthenics. The goal is to just flex your brain and your programming muscles by implementing a simple program with some very tight restrictions on the code.
- Only one level of indentation
- No else
- Only one dot per line
- No abbreviations, but still short names
- Small entities (50/10/10 rule)
- No pointers
- No more than 2 parameters per function
- No output parameters
- No for- or while-loops
- No more than 2 elements per struct