Assets used for this project: drive.google.com/drive/folders/19NBkoU-Q7UaFIkuXBcxP6OhUMrh5fCfW?usp=drive_link
@bethelmasunungure2343 Жыл бұрын
Thank you for your video. It is definately cool. Keep up the good work.
@TapTap_196 Жыл бұрын
Thanks! and glad it helped 😀
@vishwajeet5051 Жыл бұрын
this content is gold
@TapTap_196 Жыл бұрын
Thanks 😀🙏
@onepiece4562 жыл бұрын
Good job brother 👍👍
@TapTap_1962 жыл бұрын
Thanks 😃
@bethelmasunungure9491 Жыл бұрын
I love your video but in my WordDB, i keep on gettinh a Null pointer exception when i use the getPath method. How can I fix it?
@TapTap_196 Жыл бұрын
Hmm...What is the data path that you used? Is it the one I have in the video also? (i.e. "resources/data.txt")?
@bethelmasunungure9491 Жыл бұрын
@@TapTap_196 Thank you for responding, yes it is. Is there anywhere were I can send a picture to you of my data path?
@reset2453 Жыл бұрын
Hi, i followed everything you did in the video but when I run the program, it says it cant find resource/data.text. Im not sure whether its because I'm using replit? Any help would be appreciated. Great vid btw edit: This is the other Error message I get... Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.net.URL.getPath()" because the return value of "java.lang.ClassLoader.getResource(String)" is null ...Not sure what it means
@TapTap_196 Жыл бұрын
Hello, and thank you! Yeah I believe it could be because you are using replit so you have to pass in the file path differently than what I did in the video. The error you got happens when it can't find the file in this case the data.txt file. So you will need to figure out how to get the path to the data.txt file in replit and replace the filePath variable in the WordDB constructor. This might help you out: replit.com/talk/learn/How-to-read-txt-files-in-java-SE/33770 Feel free to ask more questions
@PektraMom Жыл бұрын
Hi, I'm building a hangman game also but with JavaFX. Right now, I'm stuck where whenever user clicks on a letter A-Z(that are buttons) that it'll get a letter from the hidden word. Is there a way for me to show what my code looks like or for you to guide me?
@TapTap_196 Жыл бұрын
You can add me on discord @TapTap#3509
@PektraMom Жыл бұрын
added you! let me know when is the best time for you :)
@qwertylkkk5019Ай бұрын
hello, i really need this game in JavaFX, can u please share the code if u have?
@Jhon1Santos6 ай бұрын
The video starts with the .png downloaded, where can I download them? Congratulations! beautiful work
@TapTap_1966 ай бұрын
Hello, here is the link to the images: drive.google.com/drive/folders/19NBkoU-Q7UaFIkuXBcxP6OhUMrh5fCfW?usp=drive_link
@dondaddamike7303 Жыл бұрын
I do not know if it is because I am doing this on Mac, but the game does not display properly for me.
@TapTap_196 Жыл бұрын
Hello, is there a way that you send me a picture of how it looks on your end?
@ProdTrollBoyy Жыл бұрын
@@TapTap_196 I also believe it is because I am using a Mac, but what is your email so I can send you the picture.
@TapTap_196 Жыл бұрын
@@ProdTrollBoyy Could you instead make an issue on this github link: github.com/curadProgrammer/Java-Swing-Hangman-Game? I think you can upload an image on there
@ProdTrollBoyy Жыл бұрын
@@TapTap_196 I have submitted an issue named "Letter Buttons Issue"
@TapTap_196 Жыл бұрын
@@ProdTrollBoyy Sounds good, I'll take a look
@ProdTrollBoyy Жыл бұрын
How would I add a menu screen for this game?
@TapTap_196 Жыл бұрын
Hmm...I didn't design it to have one, but it is possible. My first approach would be create a new JFrame that will act as the main menu. This frame will have buttons like 1. Start 2. Quit If the user pressed the Start button, it will close that JFrame and launch the Hangman GUI, else it will just close the application. What you can do is in main() from the App.class, instead of calling the Hangman GUI (i.e. new Hangman().setVisible(true), you would launch your main menu gui. Then add an action listener to the start button, so that if it is pressed it will execute the code (new Hangman().setVisible(true)) which will launch the Hangman game normally. Hopefully this helps
@dondaddamike7303 Жыл бұрын
@@TapTap_196 Is there an eamil I can send to you for you to see how I tried to make this because my code is not displaying the menu
@TapTap_196 Жыл бұрын
@@dondaddamike7303 Can you instead post the code in a Github Gist: gist.github.com/? Then share me the link to it, so that I can see. You do have to be signed into Github though. I don't feel comfortable sharing my email unfortunately 😅. If that doesn't work, let me know
@ProdTrollBoyy Жыл бұрын
@@TapTap_196 I am so sorry for the late response but I figured out a way to add a menu. Thank you for everything
@TapTap_196 Жыл бұрын
@@ProdTrollBoyy No problem, glad you were able to figure it out 😀
@vishwajeet5051 Жыл бұрын
you should make a voiceover aswell, It'll explain better.
@TapTap_196 Жыл бұрын
I might do that in the next next video 😀
@learningthroughlife78632 жыл бұрын
Nice video 👍. Can you post the source code link?
@TapTap_1962 жыл бұрын
Thanks 😀, and here you go github.com/curadProgrammer/Java-Swing-Hangman-Game