Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have a java school project (software architecture) : I must code a Tetris game with a command-line interface and multiplayers in networks. My questions are:
Is there good tutorials about the command line interface with java to start with since I have not too much time and my searchs led almost to nothing useful.
I have already coded a tetris game using swing, can I use the code of some functionalities in my new project?
The teacher said it's easier to make a command line interface than to use JFrame but he didn't explain more so why it's easier?
Thank you for your answers ! :)
TheNewBoston has very good tutorials about java.
Yes you can use some code, for example your written classes. But maybe you must import a package.
Command line is easier than Jframe, because you get the same functionality , without shapes move around.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 months ago.
Improve this question
I'm developing a program that need to display 3 real time graphs, currently I'm working on IntelliJ but if needed I'll move to another IDE like NetBeans, I've been searching some options but I have no clear idea of the direction what would be the best for this kind of aplications.
This will be running on a windows bases enviroment
My observed options are trying JFreeChart but seems to be not so good for the real time nature, I haven't been able to find much documentation of JavaFX with this kind of application and idk how the java.awt.Graphics would work
If you are interested in real-time charting then you should have a look at this library: https://github.com/fair-acc/chart-fx
But doing real-time charts is more than just drawing something. It also involves data acquisition, data reduction, etc. You should do some research first in order to find the best solution for your specific problem.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to develop a logic for tic-tak-toe game using JAVA language(Standalone program only, no UI).
Concept is, game will play between human and machine(Artificial Intelligence).
can you please guide me.
Thanks in advance :)
Regards,
Subaan
tic-tak-toe is so computationally simple, you could just search the whole problem space exhaustively using mini-max.
Here is a post I found using google search detailing how to do this in java. I reviewed the article and it includes :
detailed code of how to get it working
great images of how to imagine and picture the computation
step by step conceptual walk through of how the problem can be solved
it is command line, like you asked
For game playing, the minimax algorithm is usefull. You should be able to find plenty of imformation about it.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
After having created a bunch of utility apps and having familiarity with Java, I am curious about going into simple game development. I found out the there are game development frameworks available but I was wondering if that is the "correct" method of doing it even though Java is easy to me.
If you like Java, you'll like C#, as it is very similar to Java/C++. As such, you should probably look into Unity 3D. It's a pretty good game engine with which you can use C#, Javascript, or Boo to create nice little 2D or 3D games. It is multiplatform, so you can create games for Android, iOS, Windows Phone, or a bunch of other things.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to develop games on android, am good with java.
i already tried using bitmaps and canvas to cook up a sample game, just a ball bouncing in the screen, but had issues with placing more items and stuffs.
I was told to go learn c++, can't i use java to build it? and if so how can i get API and documentation to help me in game development?
(need help thanks.)
You really don't need to know c++ to be able to program games on android. Go follow this tutorial and learn OpenGL ES 2.0:
http://developer.android.com/training/graphics/opengl/environment.html
This will help you in being able to learn shapes and then show you how to animate your shapes. For your purposes, I would say this is a great start.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
How long would it take to learn making an app with Android? Not a crap app but something useful etc.
I know Java up to databases and making a GUI and splash screens etc.
But I have never made games or animations in Java.
Then I learned JavaScript and canvas and have made games and applications.
Based on this how long would it take as I would be willing to learn it as we will be thought apps in college next semester and would I know enough Java?
Learning Android development basics would not take too long if you have a good grasp of OOP concepts in Java. The official resources provided by Official Android Documentation is good enough for you to walk through and start developing.
After all, learning on how to program is all about understanding the concept, not memorizing every existing syntax.