Skip to content

object oriented programming with APEX, playing card probability simulation

License

Notifications You must be signed in to change notification settings

attila5287/APEX-OOP-Card-Simulation

Repository files navigation

APEX-OOP-Card-Simulation

object oriented programming with APEX, playing card probability simulation.

Code will deal the cards with the help of Deck object. Then the outcome will be recorded every round. After millions of simulations, probability of poker hands will be calculated.

  • Card
  • Hand
  • Deck

Attila

┌─────┐┌─────┐
│....♦││....♣│
│..A..││..K..│
│♦....││♣....│
└─────┘└─────┘

Juma

┌─────┐┌─────┐
│....♠││....♥│
│..J..││..Q..│
│♠....││♥....│
└─────┘└─────┘

Flop (3), Turn (1) and River (1) Cards

┌─────┐┌─────┐┌─────┐ ┌─────┐ ┌─────┐
│....♣││....♠││....♦│ │....♠│ │....♦│
│..3..││..5..││..7..│+│..4..│+│..2..│
│♣....││♠....││♦....│ │♠....│ │♦....│
└─────┘└─────┘└─────┘ └─────┘ └─────┘

dev About Developer
Repos github.com/attila5287
Profile attila5287.github.io
Email [email protected]

About

object oriented programming with APEX, playing card probability simulation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages