Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several logic fixes and improvements #44

Merged
merged 1 commit into from
May 8, 2021
Merged

Several logic fixes and improvements #44

merged 1 commit into from
May 8, 2021

Conversation

charleskawczynski
Copy link
Owner

  • Fix blinds: now everyone must call to see flop
  • Improve call interface (no more need for amount)
  • Add func to validate raise amount
  • Fix raise logic (no double counting)
  • Fix player option dispatch (added CallFold)
  • Improve log (include profit in addition to pot amount)
  • Fix distribute_winnings! when only 1 player remains

@charleskawczynski
Copy link
Owner Author

bors r+

bors bot added a commit that referenced this pull request May 8, 2021
44: Several logic fixes and improvements r=charleskawczynski a=charleskawczynski

 - Fix blinds: now everyone must call to see flop
 - Improve call interface (no more need for amount)
 - Add func to validate raise amount
 - Fix raise logic (no double counting)
 - Fix player option dispatch (added CallFold)
 - Improve log (include profit in addition to pot amount)
 - Fix distribute_winnings! when only 1 player remains

Co-authored-by: Charles Kawczynski <kawczynski.charles@gmail.com>
 - Fix blinds: now everyone must call to see flop
 - Improve call interface (no more need for amount)
 - Add func to validate raise amount
 - Fix raise logic (no double counting)
 - Fix player option dispatch (added CallFold)
 - Improve log (include profit in addition to pot amount)
 - Fix distribute_winnings! when only 1 player remains
@bors
Copy link
Contributor

bors bot commented May 8, 2021

Canceled.

@charleskawczynski
Copy link
Owner Author

bors r+

@codecov
Copy link

codecov bot commented May 8, 2021

Codecov Report

Merging #44 (4fdf93d) into main (881d724) will increase coverage by 1.23%.
The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #44      +/-   ##
==========================================
+ Coverage   73.57%   74.80%   +1.23%     
==========================================
  Files           8        8              
  Lines         507      631     +124     
==========================================
+ Hits          373      472      +99     
- Misses        134      159      +25     
Impacted Files Coverage Δ
src/player_options.jl 49.43% <62.50%> (+13.61%) ⬆️
src/table.jl 90.09% <81.81%> (-1.09%) ⬇️
src/player_actions.jl 93.58% <89.13%> (-6.42%) ⬇️
src/transactions.jl 88.88% <94.73%> (-11.12%) ⬇️
src/game.jl 98.96% <100.00%> (-1.04%) ⬇️
src/player_types.jl 94.44% <100.00%> (+1.11%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 881d724...4fdf93d. Read the comment docs.

@bors bors bot merged commit a085650 into main May 8, 2021
@bors bors bot deleted the ck/dev branch May 8, 2021 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant