Team Number: 45
School Name: Lovington
Area of Science: Probability and Mathmatics
Project Title: The Winning Hand
We have no introduction as of yet.
Problem Statement
The problem we will attempt to solve is: 'What is the probability of drawing a winning hand in a Vegas Style Card Game, namely poker and blackjack?'
Method of Solution
We will work to solve this problem by setting up a multidimensional array with attributes mimicking a cards', and then use a random number generator to deal random 'cards' from the array. Then, we will make a comparison of the hands dealt, and determine the 'winning hand'. We will compare these results to mathematical models of the probability, and give an output of chances of winning at different points in the process of dealing cards.
Results
At this time, we do not have any results.
Conclusion
At this time, we do not have a conclusion
Future Work
Our future work comprise of continuing our programming, and to integrate OOP into the program.
Appendices
Bibliography
Stephen R. Davis. C++ For Dummies. IDG Books Worldwide, Inc., Foster City. 1998.
Acknowledgements
We would like to thank Ms Grey for supplying us with all the books and computers to work on our project, and all the people at the kickoff seminar for working with us to teach us the basics of programming.
Computer Code
#include#include #include main() { const int LO = 1; const int HI = 13; int nNum1; srand((unsigned)time(NULL)); nNum1 = rand() % HI + LO; cout << nNum1 << "\n"; const int MIN = 1; const int MAX = 4; int nNum2; srand((unsigned)time(NULL)); nNum2 = rand() % MAX + MIN; cout << nNum2 << "\n"; return 0; }
Team Members
Sponsoring Teacher(s)
Project Mentor(s)