/bowlingKataGame

different version of bowling kata game

Primary LanguageScala

bowlingKataGame

/**
*   TDD ?
*       test first
*           unit test
*           black box test if possible
*           white box insteads
*       baby step
*       red-green-refactor
*       clean code
*
*       Objectif :
*       FEEDBACK !!!!!!!!!!!!!!
*/

fr.slideshare.net/lalitkale/bowling-game-kata-by-robert-c-martin

Game 10 Frame 1 ou 2 Roll Pins (sauf 10e Frame qui a 1 à 3 Roll)

  1. branch "calistenics"

    http://williamdurand.fr/2013/06/03/object-calisthenics/ http://www.mabishu.com/blog/2012/12/14/object-calisthenics-write-better-object-oriented-code/

    1.Use only one level of indentation per method 2.Don’t use the else keyword 3.Wrap all primitives and strings 4.Use only one dot per line 5.Don’t abbreviate 6.Keep all entities small 7.Don’t use any classes with more than two instance variables 8.Don’t use any getters/setters/properties 9.Use first-class collections

    1. Use only Immutable object
    2. Don't use exception