Added: 3 years ago
From: rsmod123
Views: 19,761
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (135)

Sign In or Sign Up now to post a comment!
  • 2:19

  • BGM is annoying

  • awesomeeeeeeeeeeeeee... thanksssssssssssssssssssssssss­sss

  • i typed visual basic lol to the search and this appers lmao xd

  • Multiplayer Tic Tac Toe

    watch?v=kCFnVrf7AkA

  • Merci beaucoup cette vidéo fonctionne parfaitement !!!

  • Great!!!

  • i put the command you used for the score to show and my score is of "0="

    "Label3.Text += 1"

    but it gives a error

    Conversion from string "0=" to type 'Double' is not valid.

  • how many lines code is this?

  • I made mine, but when i finished making it, it doesnt work at all, i followed everything but it keeps on saying "Conversion from string "" to type 'Boolean' is not valid." after I tryed playing it (it worked perviously before adding the 'private sub win()' and also thanks for the tutorial it helped alot! but do you think you can help me with this problem?? thanks!

  • @Mikhanator dont worry, i fixed it but thanks again for the nice tut's!

  • nice vid. thanks a ton for posting this and the 2nd part!!

  • thatnx bro, very helpful

  • I made a code!! And it works to draw!!! XD

  • If the game get a Draw? I have been thinking about it,.But indk how make a code for it.

  • HELP! I did the whole tutorial but when i play the game it allows o to go first then every single time after x goes. what was the error?

  • @TrueShall Nevermind found my mistake :) i forgot to put: turn = 1

  • @TrueShall I have all that, and i think the codes are correct...help plz

  • Nice, thanks man. Now I want to change the names, x and o, to players names from the textbox.

  • EVERYTHING works except its not counting for the " O 's " . I watched the video three times and mine looks just like yours.

  • problem some how you gotta end the first win code or the Else feature thinks the rest is part of its own script...

  • nice vid man thanks

  • took for ever but it works!!!!

  • nice bro thx

  • Very Well It's a perfect VB08 Video I like it!!! The Game works perfectly :D

  • guys ive got lots of errors HALP...

  • i could only find 4 possible... ;/\

  • If you could help with my previous post that would be much appreciated

  • I'm trying to make draws show text I tried to use this but it Doesn't work. I also tried putting button(#).text after each or statement but no

    Private Sub Draw() If Button1.Text = "X" Or "O" And Button2.Text = "X" Or "O" And Button3.Text = "X" Or "O" And Button4.Text = "X" Or "O" And Button5.Text = "X" Or "O" And Button6.Text = "X" Or "O" And Button7.Text = "X" Or "O" And Button8.Text = "X" Or "O" And Button9.Text = "X" Or "O" Then MsgBox("You guys got a draw") End If

  • Hey i was wondering if u said anything about there being no winners or maybe i just missed it

    Like i tried to get it to say there were no winners at the end but i couldnt figure it out

    Anyways great tutorial! my friends are gonna be jealous in vb on monday

    Liked and subbed :)

  • The title says 'Part 2' but the vid says 'Part 3' O.o ???

  • @reblogo Go to part 1 video. And watch between 3:00 to they end. U will see Part 2 Button codes! So thats why. But it was easiest to call this video part 2 , then u would know which video right?

  • How do you keep the score of tie games?

  • how do you make a score keeper for the ties?

  • What if the game ends in a tie?

  • yea nvm i gust didnt have anything this the lable i was trying to put + 1 to so it was finding nothing :D haha

  • yea nvm i gust didnt have anything this the lable i was trying to put + 1 to so i was finding nothing :D haha

  • im using VB 2010 and when i put LblXScore.Text += 1 or (lable6.Text +=1) it get an error telling me "Conversion from string "" to type 'Double' is not valid." help plz ..... i might find out whats wrong b4 u get back to me so if i dont say thanks and u help "thx"

  • hello

    good tutorial friend

    thanks for share...... =D

  • Works perfect.....Thanks this tutorial was great!!!!!! I you have any more simple games like this I would love to see a video for it. thx again

  • Works perfect.....Thanks this tutorial was great!!!!!! I you have any more simple games like this I would love to see a video for it. thx again

  • no!!!

    eso tan rapido quien lo entiende pues!!!

    estaba quedando bien pero lo daño con esa velocidad estaba de afan o que

    -no!!!

    so fast that one who understands it!

    was running well but the damage that speed was of eagerness or

  • no!!!

    eso tan rapido quien lo entiende pues!!!

    estaba quedando bien pero lo daño con esa velocidad estaba de afan o que

    -no!

    so fast that one who understands it!

    was running well but the damage that speed was of eagerness or

    Escuchar

    Leer fonéticamente

    Diccionario - Ver diccionario detallado

  • Thx that you have done this greate video it helpt me alot but do you do how to do so it its player vs computer??

  • my game doesn't make scores and doesn't say x or o wins can you please tell me the code for this and were to put thx for the tutorial :D

  • What are the codes for winning?

    i mean what are every possible ways that x can win?

    can you pleas send it to me?

    or drop it here?

    (sorry about my english.)

  • Thanks a lot :-)

  • sorry to say but its way better to change label6.txt (for example) in lblXwin.txt thats way better , than you dont have to look the whole time what label it is.

  • woot this is sweet

    :D

    but how do i make an AI? to play vs a computer

  • Very nice job! Thanks for posting!

  • Where is the description?

  • Thanks for the tutorial man, I wrote mine in C#, which wasn't hard at all. Have subscribed and am going to check out some more of your vids now.

  • Thank you it worked!

  • omg my computer lagg. sorry

  • that

    ShadowMario90 happend also for me :( PLZ HELP ME AND

    ShadowMario90 :D

  • the same for me!! PLz HELP !!!!!:D and will it work when i fixed that

    ShadowMario90 say? :D

  • It keeps saying that "ElseIf" has to be followed by another "ElseIf" or "If" Please Help!!!!!

  • i am soooooooo mad i had a error

  • ns tuto: it really works

  • THANK YOU

    I owe you one

  • You are stupid or that the next time you put him faster than you are stupid

  • thz man

  • WOW! Thanks a lot! It really worked!!!

  • Thanks man. This worked. I had a problem with O because I bymistake used to type 0 but thats cured.

  • Anyone know how would I be able to edit this code so I could play against the computer?

  • I dunno how and why but the button doesn't disable after clicking it :(

  • just wondering if its easier to disable all buttons with:

    For i = 1 to (how many you have them)

    button(i).enabled = false

    next

    Dunno if thats possible :P

  • awesome it worked

  • Ir reccommend adding areset score button :D I did

    Label6.Text = "0"

    Label7.Text = "0"

  • Mine messed up...

    The game works ok but when it tries to change the '0' for win count to 1 I get this error.

    InvalidCastException was unhandled

    Conversion from string "O" to type 'Double' is not valid.

    It happens when I click OK in the message box. Help Please?

  • the problem might be that you named the label "O" instead of "0". if u did that it will not work.

  • Actually I had the exact same problem, and I had put 0 instead of O. But my problem was that I had put "Wins:" and "0" in the same label therefore causing an error. So try making a separate label for it then trying it again. It worked fine for me.

  • i made one!!! hahaha

  • Nice. Could you do a pong one pls? Im trying to make one, but i cant program well (i only got VB 2 days ago)

  • woa, thats great!!!!

  • Very nice work! But next time you make a tut then piz put the code in the info :D

  • If you write out the code yourself then you will learn very quickly.

  • pls send me the answer

  • what about draw?

  • I have finished but when I pressed play appears the game and I press on one of the button and it tells me dad I have won and I do not see any error HELP PLEASE

  • hey really cool the video but i need help and if you can make the video a little slower because I need to do a work on it

  • Comment removed

  • dude it workes!

    needs computer to play aswell.

  • if i wright and it SAYS ERROR

  • you should see everything and see if you find something wrong and I, too, had that problem but at last I found it

  • when i load and click a button it says there an error on like if button1.text = "x" on and on and on IT DOESNT WORK HELP PLEASE

  • ffs OMG MESSED IT DOESNT WORK OMG OMG OMG in the win shit its says it error OMG

  • can you make a video how to create tic tac toe game but to play against the computer? or just answer please

  • check out part 1

  • I don't get how you can make "X" change to "O" (next tp "Player turn")

    Please answer :)

  • I also don t understand it if you know please let me know

  • When you the button is clicked on the label changes telling the next player it's their turn.

    Example:

    Private Sub If turn = 1 Then B3.Text = "O" Label6.Text = "X" 'After it's clicked the text above the grid will say O telling the next player it's their turn.

  • what code do i need to put in if a game is a draw or no winner please

  • nice Tutorial ;)))

    how can i make a score reset button??

    if you see my post and reply tks man!! xD

    sry if i wrote any thing wrong.... xD!!

  • "form1.refresh" i think. It is the easiest way to restart the score (It restarts the whole game lol)

  • @rsmod123

    How to get a new game button:

    1. make button 11 and rename to: New game

    2. Double click button11

    3. typ:

    label6.text = "0"

    label7.text = "0"

    4. Now you have a New game Button!

  • @rsmod123 and @2aa3aaa

    The score labels are Label6 and Label7

    The code is:

    Label6.text = "0"

    Label7.text = "0"

    There! Easy as pie!

  • @2aa3aaa well actually it's really simple you make a new button and you say Button11.Text = "Reset Score"

    Button11_Click

    Label6.Text = "0"

    Label7.text = "0"

    but 0 you have to be sure it is 0 not o

  • @2aa3aaa

    make a reset button for the score the code is:

    label6.text = "0"

    label7.text = "0"

    =)

  • @2aa3aaa Label.Text = "0" Label.Enabled = True Label.Text = "0" Label.Enabled = True

    Put your label numbers dont forget or it will error you

  • @2aa3aaa Label.Text = "0" Label.Enabled = True Label.Text = "0" Label.Enabled = True

    Put your label numbers from the 0 ptz and then make a reset score buttton put that in there and your reset numbers and your good enjoy a fast reset button.

  • @2aa3aaa Make a button rename it Reset Score and then Private Sub Button11_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button11.Click Label7.Text = "0" Label7.Enabled = True Label8.Text = "0" Label8.Enabled = True End Sub

    End Classbasicly you need to do it for both labels copy past em in the button and what ever your 0 labels are named change the 77 to whatever your top label is and then do it again for the other i hope this helps

  • Hello i come from germany

    a very good tutorial

  • thanks allot really cool

  • thanks a lot man ;)

  • i think i will create a 4 wins xD

  • do you create all games like this or is that easier? as example in valve or EA Games?

    btw very nice tut

  • lol those games use C# I think o.0 sometimes the companies make their own program like "Warcraft 3 world creator" using c#, then use it to make a game.

  • @rsmod123

    I heard it was c++?

  • Great tutorial thanks a lot

    got only one question

    how can i insert a button for a ne game witch clears the scoreboard?

    sry for my english this isn't my motherlanguage

    thx

  • form1.refresh() I think o.0

  • @rsmod123

    You use this instead:

    Make a new button

    and

    type this in:

    Label6.text = "0"

    Label7.text = "0"

  • @Tom9504 in the new button for new game add this code Button1.Text = "" Button1.Enabled = True Button2.Text = "" Button2.Enabled = True Button3.Text = "" Button3.Enabled = True Button4.Text = "" Button4.Enabled = True Button5.Text = "" Button5.Enabled = True Button6.Text = "" Button6.Enabled = True Button7.Text = "" Button7.Enabled = True Button8.Text = "" Button8.Enabled = True Button9.Text = "" Button9.Enabled = True Label6.Text = 0 Label7.Text = 0
  • @Tom9504

    make a reset button for the score the code is:

    label6.text = "0"

    label7.text = "0"

    =)

  • @Tom9504 If you want to keep the score you will need to use this Button1.Text = "" Button2.Text = "" Button3.Text = "" Button4.Text = "" Button5.Text = "" Button6.Text = "" Button7.Text = "" Button8.Text = "" Button9.Text = "" Button1.Enabled = True Button2.Enabled = True Button3.Enabled = True Button4.Enabled = True Button5.Enabled = True Button6.Enabled = True Button7.Enabled = True Button8.Enabled = True Button9.Enabled = True
  • Thanks alot!! amazing tutorial!

  • i luv this thank you so much it worked :P oh and i rly love the score monitoring that if you press reset the score stays and counts up unlike fake ones ive seen gud tut's 5/5 sub'd

  • thanks :)

  • that means that your "Win" sub has something wrong. In your win sub, make sure that you changed the "X" into "O" at the appropriate places.

  • disablebuttons() isn't working

  • nid to type "Call disablebuttons()" but if it still doesn't work, try following the code again lols XD Something must be missing from your disablebuttons sub.

  • lol when i press on one button it only says O wins all the time

  • after the message box, you can make, that it resets automatically.

  • yeah, but sometimes, people don't notice that they lost, because they didnt spot the line yet lol XD so, the button press is just there so that they have some time to spot their mistake lol.

  • you are the man!!!

  • You are the man too! lol thanks :)

  • THE MUSIC IS SHIT xDDD

    THE VIDEO IS THE HIT XDDD

  • lol i don't know if that is positive or negative, but i'm assuming its positive. Thanks!

  • its positive

  • okay :) thanks for the comment btw :)

  • WOOO!!! nice

  • Thanks! btw i emailed you already :)

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more