Skip to content

Bowling score board kata. Also contains usage of my "javascript-ioc" npm package.

Notifications You must be signed in to change notification settings

stewie1570/bowling-kata

Repository files navigation

bowling-kata

Build

This Kata includes dogfooding usage of javascript-ioc.

Usage:

node .\dist\app.js "7,0|10|0,10|10|10|1,8|0,9|10|8,2|0,10,10"

Output:

------------------------------------------------------------------------------------- 
| 7 | - |   | X | - | / |   | X |   | X | 1 | 8 | - | 9 |   | X | 8 | / | - | / | X | 
|   ----|   ----|   ----|   ----|   ----|   ----|   ----|   ----|   ----|   --------| 
|     7 |    27 |    47 |    68 |    87 |    96 |   105 |   125 |   135 |       155 | 
------------------------------------------------------------------------------------- 
And here is the dependency graph...just because :)                                    
{                                                                                     
		"name": "BowlingGameController",                                            
		"dependencies": [                                                             
				{                                                                     
						"name": "view",                                               
						"dependencies": []                                            
				},                                                                    
				{                                                                     
						"name": "gameProvider",                                       
						"dependencies": [                                             
								{                                                     
										"name": "userInput",                          
										"dependencies": []                            
								},                                                    
								{                                                     
										"name": "parser",                             
										"dependencies": []                            
								},                                                    
								{                                                     
										"name": "scorer",                             
										"dependencies": []                            
								}                                                     
						]                                                             
				}                                                                     
		]                                                                             
}                                                                                     

About

Bowling score board kata. Also contains usage of my "javascript-ioc" npm package.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published