Lodash might be useful in tests at least.
Use lodash.
Describe position enum.
Export pos/bet as objects.

Makes it easier to export these values for testing without exporting
outrageous amounts of constants.
Fix name clash.
Use pos and bet objects.
Remove constants.
Trivial case change for consistency.
Export all functions if not in production mode.