I am trying to make a simple poker game, not using windows forms or things like that. I was wondering how to start of the constructors to shuffle the cards, deal the cards (Get a random 'card' from an enumerator).
Here is what I have so far:
using System;
public enum CARDSUIT
{
clubs = 1,
diamonds = 2,
hearts = 3,
spades = 4
}
public enum CARDVALUE
{
Ace = 1,
two = 2,
three = 3,
four = 4,
five = 5,
six = 6,
seven = 7,
eight = 8,
nine = 9,
ten = 10,
jack = 11,
queen = 12,
king = 13
}
public enum POKERSCORE
{
None,
Pair,
TwoPair,
ThreeOfAKind,
Straight,
Flush,
FullHouse,
FourOfAKind,
StraightFlush,
RoyalFlush
}
I would like the game to be able to show how much money the player and computer have, and subtract from the total when ever they place a bet.
Hope you can help me :D


Sign In
Create Account


Back to top









