Quantcast
Channel: Battleship game
Browsing latest articles
Browse All 8 View Live

Battleship game

Here is the code for the Bingo card used by the person calling the Letter / Number combination's.  It uses a tablelayout panel and could easily be modified to fit your needs.  To try it out create a...

View Article



Battleship game

Got it?  Great!That's not called tinkering with it.  That what I call fooling with it.Please close the thread by marking the best and most helpful replies as answer.Thanks, ahead of time.Rudy...

View Article

Battleship game

Got it.  I did not have the MyBtn = New Windows.Forms.Button in the loop.  That is what happens when you really do not have a serious clue as to how things really work.  I also figured out the...

View Article

Battleship game

Now I am just tinkering so I understand how the logic works.  The routine I have commented out works just fine.  But being a tinker I wanted to try it a different way so I can understand how things...

View Article

Battleship game

I knew it had to be easy.  It was one of those things the books do not do.  Thanks. 

View Article


Battleship game

in the form Load event you can do a loop. This creates a from with a 6x6 grid of buttons. you'll need to adjust the numbers to get a 10x10 gridWithEvents myBtn As ButtonDim x AsInteger = 10Dim y...

View Article

Battleship game

Dim MyButton As Windows.Forms.ButtonFor i AsInteger=0 to 99 MyButton = New Windows.Forms.ButtonWith MyButton .Name="Button"& i.ToString .Location=New System.Drawing.Point(MyX,MyY)'here you can put...

View Article

Battleship game

I am trying to build a battleship game. The project is giving me one minor difficulty (so far). I do not know how to create the game board made up of 100 buttons. I can obviously drag and drop 100...

View Article

Browsing latest articles
Browse All 8 View Live




Latest Images