Raminator's Profile
Reputation: -2
Dishonored
- Group:
- Active Members
- Active Posts:
- 206 (0.66 per day)
- Joined:
- 16-July 12
- Profile Views:
- 2,516
- Last Active:
May 17 2013 02:32 PM- Currently:
- Offline
Previous Fields
- Country:
- BR
- OS Preference:
- Windows
- Favorite Browser:
- Chrome
- Favorite Processor:
- AMD
- Favorite Gaming Platform:
- PC
- Your Car:
- Who Cares
- Dream Kudos:
- 0
Latest Visitors
-
modi123_1 
17 May 2013 - 14:15 -
darek9576 
17 May 2013 - 12:52 -
macosxnerd101 
03 May 2013 - 17:06 -
jon.kiparsky 
03 May 2013 - 13:38 -
h4nnib4l 
30 Apr 2013 - 13:46 -
trevster344 
27 Apr 2013 - 21:34 -
W4tchM4ker 
27 Apr 2013 - 15:12 -
lar3ry 
27 Apr 2013 - 09:40 -
fullyunknown 
27 Apr 2013 - 07:11 -
AdamSpeight2008 
26 Apr 2013 - 10:18
Posts I've Made
-
In Topic: TextBox.TextChanged on If statement
Posted 17 May 2013
-
In Topic: TextBox.TextChanged on If statement
Posted 17 May 2013
modi123_1, on 17 May 2013 - 08:04 PM, said:Okay... so store the values in a collection. One for the player and one for the computer. Their index would indicate which turn they were inserted on so you have your time factor.. the collection keeps them in an ordered structure.. bingo-bango.
I never did anything with collections before, would this be the right way?
Or this:Dim local As List(Of Integer)
-
In Topic: TextBox.TextChanged on If statement
Posted 17 May 2013
modi123_1, on 17 May 2013 - 07:52 PM, said:Quote
Its a tic tac toe game, so inside the sub that will start when the user makes his first move, i need to track what the user's next move was,
A collection wouldn't suffice? certainly you number your squares 0 - 8 and just add to a list of(int) which square was picked.
Quote
in order for the pc to make the correct next move. Something like
Why would the computer need to know the last move by the opponent? Isn't the main concern of the game is to solve the current board _as is_ and not _what could be_?
I think didn't express myself quite right, I'll try it again.(Tic Tac Toe Tacticts)
>User makes first move
>Computer, based on the user's first move and the tactics make the next move
>User makes his second move
>Computer, based on the user's second and first move, and computers first move, makes second move
This is basically it. So, if you think of the tic tac toe board as your numeric keypad, something like this should happen: user makes move on square 1,computer makes move on square 5,user-4,computer-9,user-2,computer-7,user-8,computer-3.So the computer would win. -
In Topic: TextBox.TextChanged on If statement
Posted 17 May 2013
-
In Topic: TextBox.TextChanged on If statement
Posted 17 May 2013
AdamSpeight2008, on 17 May 2013 - 07:33 PM, said:What's wrong with using the TextChanged Event of the Textbox?
Its a tic tac toe game, so inside the sub that will start when the user makes his first move, i need to track what the user's next move was, in order for the pc to make the correct next move. Something like
Private Sub _1_TextChanged(sender As Object, e As EventArgs) Handles _1.TextChanged checkV(_1.Text) _5.Text = MS _5.Enabled = False 'if _2.textchanged then blablbla 'else if _3.textchanged then blablabla 'keep on checking and making moves that will adapt to the players move End Sub
My Information
- Member Title:
- D.I.C Head
- Age:
- Age Unknown
- Birthday:
- April 30
- Gender:
-
- Location:
- Brasil
- Interests:
-
Programing
Games
Shooting
Racing - Full Name:
- Bernardo Meurer
- Years Programming:
- 1
- Programming Languages:
- VB.NET (A little),C(A little),C#(A little)
Contact Information
- E-mail:
- Private
- Skype:
-
Bernardo_Meurer_Costa
- Twitter:
- Bernardo_Meurer
Friends
|
|



Find Topics
Find Posts
View Reputation Given

|
Comments
Raminator has no profile comments yet. Why not say hello?