Make A Chess Game In Vb?
Mar 25, 2011I want to make a chess game in vb.
View 8 RepliesI want to make a chess game in vb.
View 8 RepliesI am a VB.Net programmer and i want to develop a GUI chess game(computer vs human begin and human begin vs human begin)with 3D ChessPieces in VB.Net 2008 as my final year project in school.
View 2 RepliesI am trying to make a Chess multiplayer game in Visual Basic. Its a two player which will be played in a normal way and not even over LAN. So far, I am done designing the board.
My logic is: First, on clicking any square, the click event handler will check whether a piece resides on that square. If not, then it checks if a piece is to be moved to that square. If both are negative, then it does nothing.
Now, the problem with this is, how do I code the click events? Also, I have represented the board using a 2dimensional array. But how do I update the positions after every move? And how do I check whether legal move is being executed? One more thing I want to add is whenever a piece is clicked, the possible legal squares should be highlighted.
For this, what I did was, for every click event on any square it checked if there was a piece. If there was a piece, then it highlighted all possible moves for that piece using If-Else-If logic, but it turned out to be too cumbersome and too long. And another problem which arose was, how do I know that if the user clicks an empty square to move the piece there?
I wanted to know how to find the code for Chess Titans (Vista) I have the program that can open .dll's and .exe's and explore there structure, I just need to know how to get that code.
View 5 Repliesim trying to make a game in visual basic in which your character can move around, jump, and kill things. I can get the picture box with the character to move and everything is fine. but i did run into one problem. when the character moves over a tree (or something) you can see the gray backround of the character as i made in paint. how do i make the backround of the picturebox transparent?
View 4 RepliesI am trying to make a game which basiclly lets you shoot ducks. i have a picture as a background (set as form image) i then have picturebox's with ducks flying flying around you shoot them the disapear etc.
My problem is the image. i have a picture of a duck and a blue square round it. and i would liketo make it transparant because birds dont fly with blue squares.
Below is an image to illistrate my problem
I have tried adding transparent background, transparant key etc
I'm doing a project for school. I'm trying to make a game similar to the Impossible game. I need a square (picturebox) to jump but I want gravity to effect it.
View 1 RepliesIn an attempt to try and make a chess AI I started working on a chess project. The AI will basically be in a class that implements my AI interface. To provide flexibility this can be used for a human player or a computer AI. In any case the problem I'm having is calculating the valid moves that a single piece can have.I calculate on what blocks the piece would be able to move if the board was totally empty. (this is represented by a array of point)Then I get a list of piece locations of the same team and Except that from said list.(since pieces can move through other pieces of its team)Now here is the tricky bit obviously taking an enemy piece is a legal move I can't just subtract enemy piece positions. Lets say there are 2 black pawns and a white rook in the same column. The rook would be able to take the first black pawn but not the second one because the first pawn is in it's way. In reality there would never be such an easy example so I need a way to only include the enemy positions "In the line of sight" of the piece's moves i'm calculating.
View 11 RepliesI am creating a multiplayer chess game in Visual Basic.Net and I need to create tiles for the game. Earlier, I used buttons for the tiles, but then I realized that not only did they look ugly, but the coding part also became a problem. Also, the images of the chess pieces didn't properly fit on the buttons and they became distorted. Also, shifting the image to a different button every time a move was played also became very inefficient. So, in view of these difficulties, I want to build a proper board, but I have no idea where to start from or what controls to use for the design.
View 3 RepliesI need to make a matching card game in VB 2010. i have generated my cards but now need to show the cards for 10 secs then change the cards to (AppPath & "Cards ed.png"). then when a user clicks on the card the card will flip over.*How would i set a timer to turn all my cards into*(AppPath & "Cards ed.png") after 10 secsbut still have the values from the array and when i click the cards they flip over (from red card to numbered card)
Code:
Private Sub Place()
Dim Counter As Integer = 1
For Row As Integer = 1 To Int_Grid_Size
[CODE]..........................
I'm trying to make a 2D game in VB. As a first step I'm going to make a playing field (a form) on which I will put a character. The character should be able to move up, down, left, and right when you press the arrow keys. How do I start off with this and what should I start off with learning?
I already know the basics in how to make normal apps with buttons, text boxes, labels and so on but I don't quite get how I should start off with something like this.Also I wonder about XNA and VB.Net. Can you use them together or is XNA only for C#? I found some stuff while googling suggesting that XNA for VB.Net had been released.
When my picHero enter a room where a picEnemy exists I should make the picEnemy follows picHero no matter how it moves up, down, right, left and as picHero is moving 5 px i want to make the picEnemy moves 4 px. I've tried to do use a condition as
Code:
if(picEnemy.location.X <> picHero.location.X) then
location = new point (picEnemy.location.X+4, picEnemy.location.Y)
picEnemy.location = location
endif
Also for the Y axis, but it didn't work.
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...]
I am making a simple blackjack game for school.It involves using object arrays and for next loops.I have 5 labels for the player, and 5 labels for the dealer. I have both their totals displayed on the form. I also have a deal, hit and stand button. I also need to follow the rules of if the dealer >= to 17 they must stand and if the dealer is < 17 they must hit. Does anybody have any suggestions on how i can code the dealers turn.I already made it so the player clicks hit and when he/she is done clicks stand. This is my stand button so far:
lblTotalDealer.Show()
lblD1.Show()
Dim itemarray2() As Label = {lblD1, lblD2, lblD3, lblD4, lblD5}
[code].....
i have zero programming knowledge and wanting to learn programming from seeing people making bots for online games, i always seek the knowledge if things and wonder how they do them, even though its pretty useless motive lol i just want to know what knowledge needed to making bot for online game am learning know VB.net 2008 got visual basic step by step book for 2008, i was searching for online game hackers forums and hear them type things like hooks, packets sniffers , etc , so what things do i need to learn beside visual basic 2008 to make bots for online game? i wonder how can i connect my program to other programs
View 1 RepliesHow could I start making a Go game? I just need some logic for it, and maybe some code, and then I can do the rest. How can you tell if an area is enclosed, which areas on the board are full, etc.? I also need ideas on how to find infinite capture/retrieve cycles.
View 7 RepliesHow do i make a menu for a game on vb.net
View 1 Repliesive tried playing with the code, references, settings, resources but cannot get this code to work Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Startgame.Click Dim ss As String = Startgame("HKEY_LOCAL_MACHINESOFTWAREblizzard entertainmentworld of warcraft",
[Code]...
I want to make an ingame menu. When you open a game a menu will pop up with a hotkey. I don't need you to do the work for me I just need a sample of a ingame menu with a hot toggle (ie: the menu doesnt need an interface, a black square that pops up with key).
View 7 RepliesHow would I make a 3D game (With Blender models), in Visual Basic, with a chat, and you can see other people?(Like see other people walking around, and if someone pulled out for example a sword, you would see that)
View 4 RepliesIs there a way to make a health variable that, when hit, you lose health?
View 3 RepliesI just downloaded VB 2008 but i have a question, can you make a D3D Menu for in-game with VB 2008?
View 5 RepliesI was wanting to make a little game. You press a start button, and a picture moves into different spaces. If you can hit stop when the picture is in a certain spot, then you win. How do i make it so when i press the stop button, it will check to see if the picture is in the location (180, 307)?
This is what i have:
CODE:
i need to make a matching card game in VB 2010. i have generated my cards but now need to show the cards for 10 secs then change the cards to (AppPath & "Cards ed.png"). then when a user clicks on the card the card will flip over.How would i set a timer to turn all my cards into (AppPath & "Cards ed.png") after 10 secs but still have the values from the array and when i click the cards they flip over (from red card to numbered card)[code]
View 2 RepliesI'm trying to make a patcher/launcher for a game. I want it to happen like this. When the user press's the PLAY button, I want it to check if the files are up to date. If they are, then it will run the exe (it will be in the same directory). If I updated a file, say Sound.x, I want it to download it with a progress bar showing. But the thing is, I looked around and I have no idea how to check if the file is up to date or not.
View 11 RepliesIm gonna make a program to a webbrowser game. There is a captcha, there with pictures of cars. i need to compare these two pictures and i want the result of equalnes in PERCENT. So if the picture are 75% equal then it click on the picture.
View 1 Repliesi am currently trying to make an invaders-like game with visual basic 2010.I've managed to make one alien (picturebox16) dissapear when the coordinates of the arrow (picturebox1) kinda matches the coordinates of the 16th alien, however, the second alien(above it) doesnt dissapear(picturebox4)?
View 2 RepliesI have have to make and design a game in visual basic 2008 for college i also started colleage late... i dont kow how to start my game. the way the game is blackjack (21)
View 1 RepliesI'm in the process of designing a game, how can i make the game tick over in time?
First thought would be a timer but is this the correct way?
Also I'm looking at building this game in WPF, By memory WPF does not have the timer control, what would you do then?
I have two "Game of Life" programs. One uses a list of points that represent the live cells, and the other uses a fixed-size grid. The one using the list of points can zoom in and out, is much more elegant in coding, and has an unlimited size grid. However, it needs to search for points in the list, and the more points in the list, the more time it takes
View 5 Replies