VS 2008 Beginner Making Hangman Game?

Mar 31, 2009

Im using Visual Basic 2008.Okay I got all the design, and everything set up, even the hangman body parts coming on the screen and stuff. So my problem is creating the BLANKS, the underscores "_", and replacing them with a letter...

I was thinking creating Lables which i have no idea how to dynamically. Then giving each label name the letters they belong to, and everytime the user gets the rigth letter they get replaced.

View 3 Replies


ADVERTISEMENT

Making A Hangman Style Game In VB 2008 Express?

Jun 1, 2009

I am making a hangman style game in VB 2008 Express. I am a beginner and instead of making any graphic related content (i.e. the hang man), I am using a 3 strike system. So far, I am just about finished. Only problem is whenever I choose a letter that is incorrect, it adds 1 to the strike label. The problem is, the second time I choose an incorrect letter, the "1" does not change to 2! The line is as fallowed:

strikelbl.Text = +1

View 3 Replies

Make A Hangman Game For School Using VB 2008 Express?

Dec 1, 2011

I have to make an hangman game for school using visual basic 2008 express and make it a console application...because i need better mark i want to show an image when a player loses or wins(i think it can be done with windows application)...

View 9 Replies

Game Programming :: Creating A Hangman Program Using VB 2008 Express Edition?

Nov 30, 2008

Basically i am creating a Hangman program using VB 2008 Express edition and need some help.I would like some help on when a user is entering a letter for the word how can i make it so for example if the target word is "MAX" and they enter "M" i would like the lblstatus to update as "M--" obviously i would want it to be able to do it with all 3 letters.

View 2 Replies

Hangman Game / Automatically Displays Character And Gives A Game Over?

May 8, 2009

I am a student working on the venerable "Hangman" project. We were tasked to create a hangman game that would get a random word from one of three sources either by file, by array, or by database file. I have managed to get a random word to import from all three but I run into a problem once I start to play the game. The program seems to run into an infitinite loop as soon as you enter a letter or it automatically dispays character entered and gives a game over. [code]............

View 39 Replies

Add Pictures Into Hangman Game?

Jan 27, 2011

I need directions on which code to use to load picture for each wrong guess.

View 5 Replies

How To Make A Hangman Game

Dec 19, 2011

i'm trying to make a hangman game yet i'm getting errors in these parts:

System.Text.RegularExpressions.Regex.ism...rgx, that it is not part of system .text ( more than

one case of this error) and also the rgx bit is claiming to need a '<' for an xml tag.those errors

and quickly run it on their vb? this is because i do not have vb on my computer.[code...]

View 1 Replies

Planning For Is A Hangman Game?

Jan 1, 2009

my new game im planning for is a hangman game. I was thinking along the lines of : having a keybaord on the bottom of the form. Then having parts of the "MAN" be invisible and when a wrong letter is incorrectly pressed a peice becaomes visible! Im having trouble with how to set words. (i want more than 1 word so that it can be played multiple times).

View 1 Replies

Game Programming :: Got Errors In Hangman

May 14, 2009

got errors in hangman

View 3 Replies

Hangman Game In VB Console Application

Dec 15, 2011

I have this progamm and i want to add points when a letter is found 10 points PLZ HELP ME! i also want to make it for two players

Module Module1
Public zoes As Byte
Sub Main ()

[CODE]...

View 2 Replies

Hangman Game Substring And Dash

Oct 20, 2011

my teacher assigns me to modify the program hangman game that allow a player to enter a word that contains any letters up to 10 letters.That assignment is from my textbook, Programming with MS Visual Basic 2010 by Diane Zak.[code]Now here's the problem I'm having trouble with. I don't know if my substrings is wrong or right, but when I type a word, the problem crashes and gives me the error of this.and another problem I'm having trouble with is how can I have dashes to match with the length of words? For example, if I type "game", it'll display "----" in the exe program. If I type "cat", it'll display "---" in the exe program as well.

View 14 Replies

HangMan Game - Project That Has A Graphical Interface ?

Apr 20, 2009

I am working on this hangman project that has a graphical interface where the user has 2 options either guess the entire phrase or use a combo box to guess letters. I have the guess text box working but I can't for the life of me figure out why it is not working correctly with the combo box. The following is my entire code for the project. I have it setup to show me which phrase it randomly selected but when ever I pick a letter in that phrase it doesn't fill it in or anything. I'm thinking it is an issue with my loops.

I highlighted the section where the problem is occurring.

Public Class frmHang
Dim strWord(10) As String 'array of answer cchoices
Dim strAnswer As String 'the correct answer

[CODE]...

View 6 Replies

Total Beginner Attempting To Make A Game

Jan 13, 2010

I had this incredibly ambitious goal to make a video game and so I am teaching myself/relying on kindness and knowledge of others as I go along. So far I have learned a lot, however needless to say, this is a monstrously difficult challenge, however one that I am very passionate about completing. The idea is that I am making a trading card style game and I was hoping that I could continue to use this thread and your kindness to keep me going whenever nessecessary throughout this challenge.So, here is where I am now. (Please forgive me if i have posted too much details/not enough details. Since I am new, I am not sure what information you need to help me. This will be corrected as time goes by and I learn more)I have created a card class with two properties. name and picture with name As String, and picture as PictureBox. the constructor looks like this: [code]

My next goal(and where I am currently stuck) is making i so that when the user clicks on one of the items in the listbox, a picture of the appropriate card(saved in a pictureBox of its own on a different form, and referenced in the card via the picture element) will be placed inside the empty picture box on the deckPage.

View 7 Replies

Forms :: Beginner Text Based Game Location Handling?

Mar 18, 2009

I am just for learning purposes trying to develop a one player text based game.

I have a rich text box (GameWindow)
I have a text box (InputWindow)
I have a button (InputButton)
and a bunch of labels that aren't really important

I have two questions first is easy probably. How do i get InputWindow to respond to me hitting enter when text is in it?

[Code]...

But if i plan to have more that is only going to increase the size and code needed and im sure there is an easier way i just don't know how to do it.

View 1 Replies

Hangman Game - Generate Random Number When User Press Start Button

Jul 29, 2009

i've created a hangman game (Fully working) but since you can only "play" with one phrase (10 letters) it gets boring fast. Basic the current game works by on form load i define the slots (10 string which each hold a letter) and give them there letter. then the user type in a text box and if the textbox = any of the slots then the lbl repasenting that slots changes its text from "_" to the letter.

Anyway what I would like the button to do is when the user presses the start button a random number is generated. The program then looks into a textfile and based on which number is generated it takes a certain line (10 characters per line in a phrase) , moves them into the slots and the game starts. Is that possible to code or it too complicated. The textfile will be in the applications folder (words.txt).

View 6 Replies

VS 2008 - Making A Tool For The Game?

Aug 23, 2009

Well the thing is im making a tool for a game(No hack)the display is like this Name : [here a text box] Time : [Here can be laber or textbox] [start] [stop] [reset] in the first textbox the user who is using the program have to put a player name and in time when they click start in the second textbox or labe it should start countingdown from 1 hour 1:00:00.Stop only stop the time but let the time where it was and reset to reset the time.so when the time get to 0 something should pop up with the name of the player that the user put in the text box like MsgBox Frolox's time has finish or something like that but it have to appear in top of everything.

View 16 Replies

VS 2008 - Making A Game Which Would Be Playable On Internet?

Jul 12, 2009

I have created a game and I would like to make it so that you can play over the internet. The game is Blackjack and I need some help and advice on how I can get people to play it over the internet.

View 7 Replies

VS 2008 - Making An Auto-clicker For A Video Game

Nov 7, 2010

Im making an auto-clicker, for a video game. And i have the design down, and the coding, except i have one problem, I made it so F1, starts the clicking, F2 is supposed to stop it... but it doesnt, i dont get any error messages or anything?

Heres the code.

Public Class Form1
Declare Sub mouse_event Lib "user32" Alias "mouse_event" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)

[CODE]...

View 2 Replies

VS 2008 Making A Pictionary-type Game Like ISketch?

Apr 29, 2009

As the topic says, I'm trying to make a game like the famous online game iSkecth [URL]how I can make a box that people can draw in with their mouse.

View 17 Replies

Making A Game In Visual Basic Express 2008 With Several Forms?

Nov 18, 2010

Here is a wierd case - I am making a game in Visual Basic Express 2008 with several forms. Each windows form I've given a quit command that works well to end the game. (Me.Close) However if instead I click on the big X button that windows provides in the upper right hand corner - it does not look to truely stop the program.

I'm running this program in debug mode from the MS VBE editor, but when I click that X it tells me that program is still running even though all

View 5 Replies

Game Programming :: Foray In Game Making?

Jun 3, 2011

Have attached the code so far and would like to be able to rotate my car sprite through 360 degrees and have it move in diagonal fashion.

View 19 Replies

Build Hangman In Hangman & Password Box?

Jan 21, 2011

Building the hangman on hangman and also making a password box. The password box is less important. I can probably figure it out with time.

[code]...

View 5 Replies

Building The Hangman In Hangman & Password Box?

May 10, 2009

building the hangman on hangman and also making a password box. The password box is less important. I can probably figure it out with time. The hangman on the other hand, not so much.so far i have this under cmdA:

For counter = 0 To Len(word) - 1
If word(counter) = "a" Then secret = Mid(secret, 1, counter) + "a" + Mid(secret, counter + 2)

[code]......

View 5 Replies

VB 2008 Console Beginner Programming?

Jun 12, 2011

I have been working on this all weekend and can't figure out what I am doing wrong. The objective is to collect 3 numbers from the user then display to them the numbers they entered, the lowest number entered, the highest number entered, the total, and the average. Can someone review this and tell me what I am not getting?

[Code]

View 3 Replies

VS 2008 Hangman Code Not Working?

May 22, 2011

my Hangman Codes aren't working and i'm stuck at the part where it searches the word to see if the letter/word is in the word to guess and then i would like some pointers on how to go about making this D**n thing work.Here's the code i got so far.'I Know that i have some things in here twice and in different ways but that's because one didn't work so i tried another and that didn't work either i had them annotated out for debugging'

Public Class Form1
Dim strLetterGuessed As String = ""
Dim strWordGuessed As String = ""

[code]....

View the attachment to see what the form looks like. 'The red stuff was added after the screen shot using Paint'

View 1 Replies

Find Best Tutorials Of VB 2008 For Beginner's Level?

Aug 31, 2010

I need comprehensive tutorials of VB 2008 for beginner's which give additional support to my studies so that I can learn VB 2008 easily in less time.

View 2 Replies

VS 2008 Beginner Unable To Get Code To Work?

Nov 27, 2009

I am having an issue getting my code to work. It is not showing my Look-Up Button for me to calculate the rate based on the weight and zone and it continues to constantly show that I have an error that I cannot seem to correct.

[Code]...

View 4 Replies

VB 2008 - Console Beginner 2D Array (Infinite Loop)

Aug 2, 2011

I am trying to create a program that the user enters the number of enrollments for 5 different campuses during two semesters. I just got started and here is what I have so far but when I run the program it is stuck in an infinite loop and will not go to the next function. I am not sure how to end the loop. Here is what I have so far:

Module Module1
Dim SIZE As Integer = 5
Dim campus() As String = {"Decatur Day", "Decatur Evening", "Huntsville Day", "Huntsville Evening", "Distance Learning"}
Dim semester() As String = {"Fall 2010 semester", "Spring 2011 semester"}
[Code] .....

View 10 Replies

Making A Game Editor?

Aug 30, 2010

Recently I had the urge to make my own 2d game editor and I don't know where to start and I have searched the web but my results were not

View 5 Replies

Making A Game Trainer In .net?

Dec 17, 2009

I am making a Game Trainer in vb.net, this is the current code I have.

Imports System.Runtime.InteropServices Public Class Form1

[Code]...

I can read from the memory address fine, but when I try to write to it nothing happens, no errors and the value does not get written. What am I doing wrong?

View 2 Replies







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