Creating A Poker Program With Vb?

Mar 18, 2012

I have to design a form that analyzes a poker hand entered by the user in the textbox and then the listbox has to display the type of hand entered. for example, four of a kind, three of a kind, a pair, a flush, a straight if ace is low, an ace-high straight that is the sequence 10 j q k a, etc.I have no idea where and how to start the coding.i am really stuck..

View 9 Replies


ADVERTISEMENT

VS 2010 Creating Simple Poker Hand Analyzer?

Mar 20, 2012

I am trying my hand at making a simple poker hand analyzer in VB 2010 for a distance education intro to VB course at my school.My goal is to represent the cards in a table array. Rows are suits Clubs/Diamonds/Hearts/Spades and columns are values (A, 1, 2... K). However I have no clue how to design a Sub procedure that will recognize the hand the user inputs and add any possible results to a listbox (fourkind/threekind/pair/flush/straight/ace high straight). I don't understand how exactly I'm supposed to do this. My criteria isn't very strict. I can have a hand with more than one description, like a fullhouse + threekind + pair can all be used to describe one hand.

What I think I need to do is split the entered string to get 5 strings (each is a card). Then somehow find these in the table? I have no idea how to do this and I'm stumped... The instructions loosely call to look for a boolean value where cards(i,j) is set to 1 of the player is dealt card j in suit i. But I do not know how to achieve this.

As you can see my understanding on VB is extremely... basic (no pun intended). It's my first time ever learning a computer language, and I really regret taking this course via distance ed because the instructor and the TA absolutely refuse to communicate with the students. I am trying my best to practically self-teach with the thick text book.

View 9 Replies

Develop A Poker Game?

Oct 14, 2010

I am trying to develop a poker game and I followed the follwoing tutorial -[URL] It works awesome for the logic but I am looking one more functionality to enter the first two cards by the user instead of automatically creating it. I am fairly new to VB coding and this program is too advanced for me to understand.

View 5 Replies

Get Poker Game With Payment?

Jul 6, 2009

Which programming language will be best for big poker game where cash deposition is must?

View 2 Replies

Simplistic Poker Code For VB?

Jul 9, 2009

I've been using these boards for about a year now and I'm slowly making progress as I try to learn visual basic. My objective is to program a number of various video poker games. Many great people have helped me out in my process of learning this program, however, I still feel that I don't have a great handle on it just yet. I'm not coming in here asking for someone to do the work for me, however, I am asking if anyone out there has a very simplistic video poker game that they designed in visual basic that I could use as a reference to build my games from. Being a teacher, I realize how everyoeone learns differently, and I'm the type of person who learns best when I work backward. If I can see the end result and then work my way backwards I feel that I will have a much better understanding of how the entire process works. Does anyone out there have a simple video poker game that I can use to build my games from?

View 1 Replies

Hold A Card In Poker Game?

Jun 11, 2010

Anybody know how to hold a card in poker game?[code]...

View 1 Replies

Poker Game Is Made In Web Form?

Jun 9, 2010

I am making poker game using webform in visual basic?However , i am stuck now. I don't know how to random the cards

[Code]...

View 4 Replies

Using Blackjack Starter Kit For Poker Game?

Jul 7, 2009

I'm sitting here with a print out of the class deck, class hand, and cardgameframework from the blackjack starter kit for visual basic and I'm lost as to where I need to go to use the above mentioned classes. I am looking to create a simple poker game using these classes as a base. I'm not looking for anything fancy, just something functional. Starting off I would like to hit a deal button and have it deal 5 cards into pictureboxes and then give me an option to (mouse click) hold any number from 0 to 5. Once I have clicked the cards to hold, I would like the program to deal new cards into the other pictureboxes. If I could get the program up to that point it would be a great place to start. Can anyone point me in the right direction? Has anyone used the cardgameframework before?

View 1 Replies

VS 2008 : Evaluating A Poker Hand?

Apr 8, 2009

We are working on a poker game as a class project. My part is to evaluate and then determine the value of a players hand. We are evaluating from highest to lowest (ie. determining whether the player has a straight flush, 4 of a kind, full house, flush and then going all the way down to a high card only "worthless hand"). My part is evaluating the 2 pair, 1 pair, and nothing hands. The hand will be a two-dimensional array with the row(0 thru 12),column (0) containing the numeric "face" value of the cards and the column(1) containing the value assigned to the suite (1=clubs, 2=diamonds,3=hearts,4=spades). I have NO IDEA where to even begin this evaluating procedure.

View 4 Replies

Create A Video Poker Card Game Using VB?

Jun 10, 2010

I am looking to create a video poker card game using visual basic.I have limited knowledge of visual basic 8 but was very curious about visual basic 10.

View 4 Replies

VS 2008 - Game Poker Hands Database

Mar 29, 2009

okay, so i'm making a poker game, and i need to determine a winner. what i was thinking, to determine a winner, was to assign each card a number which will identify it. then read all the card identifiers as a whole, and that would identify the hand. i can then use the hand identifier to refer back to something which has all the hands ranked. i think probably and e num would be the better option (simply because it keeps everything in-game) but if something else proves a better option, i'm willing to change.

so basically, i'd like to know if this is a good choice, and if it is, how i'd go about doing it. also, i know there's a way i can automatically create each hand identifier, so any idea's on that would be great.

View 6 Replies

Read Chat Text Of Poker Sites Programs?

Sep 23, 2009

In your opinion is possible to read the chat text displayed in the windows of the several Texas Hold'em Site programs (PokerStars, Titan etc)?[code]...

If I replace "Edit" with all the Classes of the Poker programs shown by Spy++.. the code don't works

In notepad the Class Styles are CS_GLOBALCLASS, in the several Poker programs them are CS_PARENTDC... may be this is the problem? CS_PARENTDC classes don't accept the WM_GETTEXT request?

View 11 Replies

Two Dimensional Array Poker Game In Visual Basic

Apr 24, 2012

I have finally been stumped this semester in my Visual basic course. Mainly because I have to write a program that is started from something that I have not created. I have to create a program that will take in info from the user, then spit out the poker hand that they are holding. For instance, the user will type in 1 for ace, 2 for 2, 3 for 3......10 for 10, 11 for Jack, and then in the next column type in C for Clubs, S for Spades.. and so on. Here is the code I have been given:

[Code]...

View 5 Replies

Video Poker Game Using Visual Studio - Create Classes?

Jun 25, 2009

I am very new to this whole programming thing and I have read several books and many websites but I can't get a good start on creating a video poker game. I understand that I need to create classes, but have no idea how to start. Most of the things I have been reading have been for Visual Basic 6.0 and it appears hard to understand. I am looking for some type of tutorial of how to create the classes I need and how to get the actual information from the classes into my form. Can anyone out there provide me with a good starting point? Is there any good (and easy) code out there to get me started. I feel that if I can get a good starting base, I can learn from there.

View 3 Replies

Poker Code - To Deal Cards And Compile A String List For Player And Dealer

May 2, 2009

I have code to deal cards and compile a string list for player and dealer. I want to rank the cards for both player and dealer. I dont know how to compare characters in a string or text (which would give me a starting point).

My Code:

View 1 Replies

Creating A Program For A Camp?

Jun 8, 2009

I am creating a program for a camp that I run. I want to install it on several computers and they all share the same database. It needs to be a local database because our network isn't connected to the internet. I want to keep track of student records, staff records, and finances. I also want it to be password protected with certain features avaliable to only authroized users.

View 15 Replies

Creating An IM Type Program?

Mar 23, 2012

Alright I am just starting out with Visual Basic and I am trying to figure out how I would go about doing this. I have the general idea of how I want it to be done but I am not sure of what code I need to use. What I want to do is be able to type in Text box 1 and copy whatever I type into Text box 2. But I also want to be able to send it to anyone else with the program that are listening for a connection. I also want to be able to show the IP address in Text box 3 that the computer is using at the time.

Public Class Form1
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged

[code].....

View 9 Replies

Creating Calculation Program?

May 28, 2009

Fist off, I am new at this and only learning it for a class. We have a program to create using Visual Studio 2008. The teacher doesn't give us much to go by so I really have no idea where to even start so any code will be a great help. Here is what i have to create:Your project will allow the user to enter a stock transaction and determine the stockbroker's commission. Each transaction includes the following data: the stock name, pricer per share, number of shares involved, and the stock broker's name. Assume price per share = P. The stockbroker's commission is computed in the following manner: If the P (price per share) is less than or equal to $50, the commission rate is $0.19 per share, if P is greater than $50, the commission rate is $0.26 per share.

View 1 Replies

Creating Program With Code

Apr 5, 2011

I want to create a program using vb.net code.What I mean is: write all the files necessary to be able to compile it to a .exe-file. Is there any way of doing this?And what is the easiest for the form creation? Winforms or WPF?

View 2 Replies

VS 2010 Creating Program For XP?

May 8, 2011

I'm a VB.net newbie and trying to write a simple program for installing in a few of my company's computers, most of which still use Windows XP.How can I specify when publishing in VS2010 that the program is for installation in XP?

View 3 Replies

Repeat Cards Showing Up In Game And Win Evaluating Code For Poker Game?

Jul 2, 2009

I am working on a poker game and I have the game setup the way I want it in terms of graphics and I have the code programed to deal the cards out exactly how I want them. Granted, the code is very simplistic, but functional for a new programmer like myself. I'm sure there are other more efficient ways to code my game, but I like mine so far because I can at least understand the majority of it. With that being said, here are a few problems and questions that I have.

1. How come when all 12 cards are dealt out I have some cards repeating in the game? For example, I get queen of diamonds in more than one picture box when I only want the card to be dealt once and then removed until the next game.

2. I was hoping to have a button 3 to clear all the boxes, basically resetting the game to the next game. When I hit button 3 it only clears the contents of picturebox 10 and 12.Other notes: I have the deal down the way I want it. It deals the first 10 picture boxes and a second button deals the 11 and 12 picture boxes.

3. I know this is my next step so I want to post it with the code I currently have. I want to start taking my project one step further by evalutating each of the three rows of cards (3 rows of 3 cards each - I'm not worried about the dealers hand (picture box 10, 11, 12 yet). So I want to evaluate a row of pictureboxes against a "pay scale" and display the win in a text box or label next to the 3 card hand. For example, Q of diamonds, Q of Clubs, Q of spades would win 15, etc. ( have a weird feeling I may have to change the names of the cards (I have them named card1, card2, etc. right now) to something that identifies them in order to evaluate the hands.

Here is the code that I currently have. I'm using visual basic.

Public Class Form1
Dim Rndm As New Random
Dim myPB(11) As PictureBox
Dim HiddenCards As New List(Of String)

[code]....

View 1 Replies

Creating A .NET '08 Program That Can Generate It's Own Executable?

Jun 21, 2009

Ok, so I'm working with a team of people/programmers and we are all trying to explore the possibilities within Visual Basic 2008. As such, we are all working on our own programs at the same time, but all for one small organization. Well, I'm working on making an installer that will bascially do as follows:

View 4 Replies

Creating A Simple Alphabet Program

Apr 25, 2009

I would like to click next to go to another image in a picturebox but I only have one picture box setup to have the new letter displayed in it. I have 26 images to display and need to know how to setup a loop to go through each image? It seems simple but I cannot figure out how to get to the third image, it only goes to the second image and stops. I also need to know how to setup the back button to display the prior image in a picture box.

View 8 Replies

Creating New Form (in Program) And Re-sizing It

Feb 18, 2011

Suppose we have a form with a button and a textbox

The button code goes like this:

'
Dim NF as New Form
Dim NC as New Combobox
NF.size = New size (420, 30)

[Code]....

View 2 Replies

Creating Pipeline Inspection Program?

Dec 24, 2011

I have limited programming with Visual Basic Express and I was looking at creating a pipeline inspection program which generates reports from data entered after viewing the CCTV footage of the inspection. There is a program called WinCan which does this but the license is in the thousands of $$$ per year and is alot more then what I need. how to create the diagram. Is this project simple to do myself or should I look at using freelancing websites?

View 3 Replies

Creating Sales Tracking Program

Mar 19, 2009

I'm trying to creat a program that tracks the sales of five products all with different monetary values. I'm trying to display the total number of each product sold, a combined total of products sold, and the total sales value. So far I'm only outputing the value of one of each product, I think there is a problem with the loop somehow. [code]

View 1 Replies

Creating Sales Tracking Program?

Dec 19, 2009

I'm trying to creat a program that tracks the sales of five products all with different monetary values. I'm trying to display the total number of each product sold, acombined total of products sold, and the total sales value. So far I'm only outputing the value of one of each product, I think there is a problem with the loop somehow.

Public Class MailOrder
Private product1 As Decimal = 2.98 ' product number 1
Private product2 As Decimal = 4.5 ' product number 2

[code]....

View 3 Replies

Creating Simple Yet Complicated Program?

Mar 24, 2010

I am a total bginner to vb.net programming. I am trying to make a simple program that allows the user to

1.change desktop background

2.Allows the user to select a boot image listed in the form

3.alows the user to enable disable the task manager,registry editor and control pannel.Replace Windows Boot image (Picture source is a picture box in form)

4.Change XP Start Button Text

5.Disable/Enable Windows Keys

so this is how far I got;

Imports Microsoft.Win32
Public Class Form1
Implements IDisposable

[code]....

View 3 Replies

How To Write A Program For Creating Icons

Jun 30, 2009

write program for creating Icons, using MS Visual Basic 2005?I want to know all the details

View 3 Replies

Make An Alithogram Creating Program

Nov 1, 2011

I need a program that i can make to create alithograms that include uppercase, lowercase, special charecters and numbers.this is for legitimate use as i have read the "Prevent helping malicious code" thats stickied to the top of the board.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved