Questions tagged [poker]

Questions relating to development on the subject of all variants of poker.

Questions in this category contains all aspects of development relating to poker - ie. hand evaluation, game engine, statistics, etc.

464 questions
1
vote
1 answer

Documentation for poker-engine

I am interested in developing a poker game. For this purpose I found poker-engine. But with all googling and searching the projects sites I couldn't find any documentation on its API. Do you know any place where I can find a documentation on how to…
Dominik G
  • 1,459
  • 3
  • 17
  • 37
1
vote
2 answers

Java code for dealing cards from a deck

I am trying to write a method to remove the specified number of cards from the top of the deck and return them as an array. This is what i have done so far. A method to create the deck, copy the deck, a method to return the card that is at the…
user1817301
  • 19
  • 1
  • 1
  • 2
1
vote
1 answer

Poker hands - parsing a log file in Java

Hello I am carrying on a Java project for the university, where I should analyse poker hands. I found some poker hands in a txt log file. They would typically look like this: PokerStars Zoom Hand #86981279921: Hold'em No Limit ($0.10/$0.25 USD) -…
nuvio
  • 2,555
  • 4
  • 32
  • 58
1
vote
4 answers

How to check for Full House in my poker game?

Problem: Creating a video poker game for my internet programming class. I have everything else working except I'm missing something in my logic down below. It returns true for Full House when all I have is 3 of a Kind. I know my logic for the 3 of…
Matt Swezey
  • 379
  • 3
  • 11
  • 27
1
vote
2 answers

Omaha Hi Hand Evaluator

Currently I'm trying to port Keith Rule's Texas Holdem Hand Evaluator to Omaha Hi: Texas Holdem Evaluator and Analysis More Analysis Part1 More Analysis Part 2 After thinking more about the algorithm, I found a solution which gives me the right…
Sven
  • 2,839
  • 7
  • 33
  • 53
1
vote
1 answer

Compare Arrays in Dice game

* Coded Edited with Fix * I found an open source project that has a few bugs (I have fixed a couple so far) but this one has me stumped. The issue that I am trying to solve... If I have 3 sets of pairs (isThreePair) and it is also a 4 of a Kind…
Sobo
  • 487
  • 8
  • 21
1
vote
0 answers

Bayesian Poker: How to find distributions that you can't find using combinatorics

This is my first question on stackoverflow and also my first time implementing a Baysian network so I will apologize ahead of time for any novice mistakes I make. The goal of my project is to implement a Poker player that does Baysian inference.…
M. Vorobyov
  • 93
  • 1
  • 7
1
vote
5 answers

Comparing poker hand in java

I am working on a poker game. So far I am stuck on comparing poker hands. I sort of have an idea on how to do it but I am not sure what is wrong with my code. Can somebody please point out what's wrong? So let me give a brief description of what my…
ScoutBlade
  • 125
  • 1
  • 6
  • 13
1
vote
2 answers

Where can I operate a PokerBot (and other games) legitimately?

I'd like to build a PokerBot (and a few other games) for the intellectual challenge. However, I only want to do this in an ethical and legal way. So, I need a game server where all players and the game operator know that I'm running a pokerbot.…
billpg
  • 3,195
  • 3
  • 30
  • 57
0
votes
3 answers

Generating poker hands for N number of players (five cards each)

Problem: Write a program Deal.java that takes an command-line argument N and prints N poker hands (five cards each) from a shuffled deck, separated by blank lines. What I have: public static void main(String[] args) { int N =…
user1164937
  • 1,979
  • 2
  • 21
  • 29
0
votes
1 answer

Prototype of poker software in C, problems with the function to find out Straights

I'm going crazy. I'm writing a source that selects 5 poker cards from a shuffled deck and recognizes if there is a couple, double couple, tris and so on. However, the functions that deals with finding a Straight is giving me a hard time. I had to…
user1068051
  • 217
  • 1
  • 4
  • 12
0
votes
2 answers

doubly linked list 2 values c++

I need to make a poker game for school in c++. I have made a class Card and Deck. I need to make a doubly linked list of all the cards, and every card has a suit and a rank (value). How can I attach 2 attributes (suit and rank) to a Card in a…
user1008531
  • 491
  • 2
  • 8
  • 17
0
votes
1 answer

Rails + Heroku + Multiplayer Game (poker)

I'm working on a project for fun. I've never created a multi-player game before so I decided to build one. For the sake of simplification; let's just say this game is online poker because the game mechanics are the same. Think: players sit at…
user852740
  • 19
  • 1
  • 5
0
votes
1 answer

Trying to get random values from an array, but instead getting the first 4

I'm creating a poker game in Unity using C#. I have an array card sprites which I assign values to, and then randomly deal. Despite getting the correct random cards, my code is setting their value to 1, 2, 3, etc. public class DeckScript :…
0
votes
0 answers

Texas Hold'em Poker - Find the last two cards to make a given player win

I have an interesting problem to solve. Provided a list of players and two cards served to them and the first three community cards, the program should find the next two cards for the community to make a selected player the winner. Number of players…