a credit can be referenced to a game
added chargeCredits test
draw commission
removed useless loop
introduced pay winners