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 4 years ago.
Improve this question
Greetings!
I was wondering if it's possible to make music-based games in Java? I've played games like Beat Hazzard and Audiosurf and stuff like that and I was considering making one like that - that dynamically loads songs the user selects and finds pieces of information (like bass notes) and does something in return.
I don't even know where to start, but I have found ways to play music (through certain classes others provide or the Java Sound API). Anybody ever done anything like this before? Any help is appreciated.
Of course it is. I think the term you should be Googling for is Java Signal Processing and analysis.
There is a related SO post on this as well as numerous other Java libraries and source examples (see the Google search results from above.) Here is a page with applets that perform a variety of signal analysis. Might not be exactly what you need but should be a start. And MARF, from the SO post mentioned above, looks VERY promising!
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
Is there a way where i can match some sort of screenshots with earlier stored images in my system.
Consider 2 images i want to compare A and B.
A is full screenshot of monitor whereas B corresponds to a particular window say a small image.
My problem is to find whether A contains B or not?
There doesn't seem to be a whole lot out there in terms of Java stuff that does image matching. I've found (maybe) a starting point for you, but be aware that this is a really complex topic. Related StackOverflow topic here.
For image processing I suggest using OpenCV library to get started. It has feature detectors which you can use to detect and find similar objects within an image like this. There are quite a few examples online you can use to perform the function you need. It is a pretty big topic so I can't share a lot, but I hope this can give you a head start :)
Image Similarity Java
Feature Matching Java (Stackoverflow answer)
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 7 years ago.
Improve this question
I was just sitting and thinking what I should do in programming.
And I thought of a csgo item value calculator.
Then I thought how would I get the prices of the items.
So my question is how do I get information from ex. //
http://steamcommunity.com/market/listings/730/Chroma%202%20Case And retrieve the price of the item, which is in this: market_commodity_orders_header_promote
What I would recommend is getting some kind of API tool such as PostMan or Fiddler and use them to sniff the website. See if its calling any kind of API, and if it is, see if you can take advantage of that API to do what you need to do.
Website Scraping is also a valid option. Either way you should have a look and see which method would work best for you given your problem and experience level.
The most important part is research research research. Google everything before you ask. We all wish you the best of luck!
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 4 years ago.
Improve this question
I am just learning java. I just want to make a simple application to access a web-site.
there is a website onto which i want to log-in through java:
and then interact with it through my interface, basically after log in, i would be writing in some text boxes and sending it.
I tried many places to do it, studied HTTP protocol but still cant make it.
can someone help me out?
Accessing a web site, logging in and interacting with forms on it is somewhat complex work, so it might not be the best choice for a first java project.
But if you want to do it, you should probably use Apache HttpComponents/HttpClient.
There are useful examples at the above link as well, which may help you get started.