Obviously I want this to be a LAN/WAN game, the user starts the program and enters a "lobby" where he can sit at a table and play. It would also contain a chat function so you can trash talk while playing.
Below is the rules of the game.
A Norwegian game very similar to "Oh, hell".
Standard 52-card deck. Ace is high; 2 is low.
To score the most points by accurately predicting how many tricks you'll win.
Shuffle the cards. Choose a dealer. For each subsequent hand, the player to the left of the previous dealer becomes the new dealer.
There is 20 hands in the game.
For the first hand of the game, each player receives one card. For the second hand, each player receives two cards. The third hand, three cards, and so on until 10 cards, and the down to 1 card again.
After the cards are dealt, the dealer turns the next card face up. The suit of this card establishes the trump suit.
Remaining cards are set aside and not used in that hand.
All players bid simultaneously. Each player must bid; no one may pass. Legal bids range from 0 to the number of cards dealt for that round. EXAMPLE: If four cards are dealt, legal bids range from 0 to 4.
Players are bidding on the number of tricks they think they'll win in that hand.
The player with the highest bid plays first ("leads"), if more than one player has the highest bid, the player closest to the dealer (clockwise) leads. Play continues clockwise. Each player must follow suit (i.e. play the same suit that was led) if possible.
Generally, each trick is won by the player who played the highest rank of the suit led. However, if the suit led was not trump, and one or more players played a trump card, then the trick is won by the player who played the highest rank of trump.
When a trick is won, the winning player sets the trick in front of himself so that it's easy to tell how many tricks each player has won.
One player serves as the scorekeeper (this would be the computer). As each player makes his bid, the scorekeeper writes them down. All information about the bids is open, and any player can ask for a reminder of who bid what at any time during the game.
Players only score points by precisely predicting the number of hands they would win. A bid that's either too high or too low scores zero points.
Each player who makes his bid exactly scores 10 points plus the number of tricks won. EXAMPLE: Evelyn bid 4 and won 4 tricks. She scores 14 points (10+4). Frank bid 0 and won 0 tricks. He scores 10 points (10+0). Also if a player bids half or more of the dealt cards and wins, he gets a "double". EXAMPLE: Evelyn bid 4 on 8 cards and won 4 tricks. She scores 28 points ((10+4)*2)
The player with the highest total score at the end of the game is the winner.