Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

Baseball game

$
0
0
I'd like to make a baseball game of my own in C++, and in compliance with the rules of the game, with three different difficulty settings (Easy, Normal, and Hard) and varieties of teams, players, stadia, and other options. As part of this desire, I'm researching the various probabilities involved; after all, baseball, like Mario Party, is a game of chance. I'd like to know how to trigger varieties of conditions; for example, an uncaught third strike (around 3-4% probability), which is invoked if either first base is unoccupied, or first base is occupied with two outs. I'd also like to know how to program each zone (e.g. fair/foul territory bounds, the stands, the batter's box, etc.).

Viewing all articles
Browse latest Browse all 17825

Trending Articles