Use state in betOrFold and checkOrBet
Handle pot chip count correctly
Refactor
Generalize function types, add App type