A crazy eight's game modeled using c++