In this video we create a multiplayer, online tic-tac-toe game in Java. We cover the basics of things like TCP vs UDP (very basically), renderingHints, Graphics2D methods, Overriding the superclass, cool things with HTML in our eclipse editor ( :O ), and many other things.
Here is the code and resources for this video:
Nguồn: https://banglasemantics.net/
Xem thêm bài viết: https://banglasemantics.net/category/cong-nghe
Why i'm getting input==null when I inputting the port e.g 22222
How to deal with it?
cmd
C:Users 00>java -jarC:Users 00DesktopTicTacToe.jar
Unrecognized option: -jarC:Users 00DesktopTicTacToe.jar
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
C:Users 00>javac
Usage: javac <options> <source files>
where possible options include:
@<filename> Read options and filenames from file
-Akey[=value] Options to pass to annotation processors……………..
You could make it big on YouTube
You gonna explain any of that? lol
Eclipse sd ya
Ena application download pananum
19:45 WHAT HAPPENED? AM I MISSING SOMETHING? WHERE DID THOSE METHODS COME FROM?
Where are your old videos gone?
Speed of your typing disturbs me
TE AMO WE <3
it's working but i use 2 computer program is not syn not work..
You should make more of these with other simple games, like Battleship. More tutorials attract more people.
when i export it as a runnable jar, i cant use the tictactoe launch configuration. how can i do?
Error: Could not find or load main class tictactoe2.TicTacToe2
Java Result: 1
I ran UR SOURCE FILE IN NETBEANS
Helped a bit. How would I do a UDP connection tho?
God damn that dog fcking scared my bruh lmao, this is one hell of a good coding, thank you so much
53:19 that code appered from no where
@MrWayFarOut
Thx that i finally found a good tutorial, but how can you join another Game so not in localhost. Is it possible with this code to host a game on any ip and anotherone joins it?
@MrWayFarOut , hey I am sorry for being rather straight forword, but how come you, have deleted your Ulixava's 2D Minecraft continuation series? It was really a lovely journey for me into understanding both programming and game development, so it was quite an unpleasing surprise to see them deleted , I am sorry i was just wondering, I hope you are doing well mate , thanks for the knowledge ^_^ and Cheers !
please i need the commandes used to run the game
is it UDP?
I know you did this years ago, just want to let you know how much I appreciated this video. It was easy to follow and focused. I especially appreciate the focus. You kept to the topic and only added information that was helpful, but still gave prompts suggesting to review formulas without wasting time going over them. I felt like you knew what you were doing, so I could trust your tutorial enough to spend over an hour on it. Thanks!
how can I play it in two different computers? Please tell me
In launch configuration, i didnt got the directory as TicTacToe.
I want to know that how you upload jar file I have no jar file of tic tac toe so please help me.
This was my first time doing anything network related but I was able to get it working first watch and wanted to say thanks. Even forwarded a port and played with my friend on the other side of the planet lol.
I am getting Connection Execption : Connection connect refused error . What should I do.
Excelente aula, claro, ficaria melhor organizado com o uso de diferentes classes, mas deu para entender perfeitamente, obrigado!
man you literally fucked up this, you have skipped so much code and in the end I see code 53:18 that you didnt write on the video.
Hey there! Just realized this is a pretty old video. What are you up to today? Have you moved on from programming in Java? As I see, this is the only video you have..
You run in same computer how I run this game in different computer like my friend have there own computer and I ha e my own computer so how can we play ?
32:32
that voice… LMAO
35:28
can i play this with my friend over hamachi?