Ok man, i am sorry i am bit tired and all of that so i comed out with this code:
package com.textgame.Game;
import java.util.Scanner;
public class LanguageChooser {
Type: Posts; User: HypeIsReal
Ok man, i am sorry i am bit tired and all of that so i comed out with this code:
package com.textgame.Game;
import java.util.Scanner;
public class LanguageChooser {
Ok so with code i posted above when i type something random, it just sat into infinite loop.
Again, thank you for answering, and for sharing knowledge with other for free, i really appreciate it.
Ok so, basically i am trying to make text based game.
So this should be first menu and then.
If user type 1 it opens up(GameEnglish) if type 2(GameSerbian) if type 3 Game Exits.
So i just wanted...
Hello thanks for reply, so i made this into main method
do {
askUser();
} while (userInput.hasNextInt());
But i cant make it work(i am beginner keep that in mind),...
So, hello guys, i am trying to make something, and i want to request input from user and it shoud look like this
1. xxx -> press 1 to choose this
2. xxx -> press 2 to choose this
So if they...
Guys, thanks for responses. That all makes sense. Thanks to all of you!!!
Cheers!
So hello guys, i hear quite often those three words: Java is slow? So can someone explain me what does it means. Like it will never be fast like C/C++ etc. I don't understand that.
Thanks in...
Hi guys, registred on forum today, i hope that i can learn from here. If someone is interested in learning together PM me (i know java basics currently learning Swing), we can connect through Git and...
Alright so i solved this by making new method outside of constructor like private void createWindow() and then calling that into constructor. So, thank you very much i appreciate your answer!
So hello guys, im new to Java, still learning so i meant to make like random number generator game where window will be opened and have like 3 buttons if user hits first it move him to mode where he...