Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 150,068 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 1,784 people online right now. Registration is fast and FREE... Join Now!




Two Player Tic-Tac-Toe

 
Reply to this topicStart new topic

Two Player Tic-Tac-Toe

Jenni88
29 Feb, 2008 - 07:13 AM
Post #1

New D.I.C Head
*

Joined: 29 Feb, 2008
Posts: 1

I need to write a two player tic tac toe game.
All the code I have written is
CODE
Private Sub frmTicTacToe_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim Prompt, Player As String
        Prompt = "Please enter the name for player #1"
        Player = InputBox(Prompt, "Player One")

        Prompt = "Please enter the name for player #2"
        Player = InputBox(Prompt, "Player Two")


When you run the program, the two input boxes show up, then once both players have entered their names, a form with nine buttons appears. Each player should be able to press a desired button, and, depending on the player an 'X' or 'O' should show on the button they clicked. I need help getting started writing the code to do this.
User is offlineProfile CardPM
+Quote Post

Jayman
RE: Two Player Tic-Tac-Toe
29 Feb, 2008 - 11:24 AM
Post #2

Student of Life
Group Icon

Joined: 26 Dec, 2005
Posts: 7,319



Thanked: 66 times
Dream Kudos: 500
Expert In: Everything

My Contributions
What specifically do you need help with?

So far you haven't done very much in the way of attempting to fulfill your assignment.

Have you created the game board in the designer yet?
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 10:52PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB.NET Help!

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month