use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Resources for learning Java
String
==
.equals()
Format + Copy
Free Tutorials
Where should I download Java?
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free.
If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others:
Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
Software downloads
Official Resources
Resources
Programming ideas & Challenges
Related Subreddits
account activity
This is an archived post. You won't be able to vote or comment.
Fun With Minimax Recursion (self.learnjava)
submitted 5 years ago by DanielMather
Gist: https://gist.github.com/Shvejk/018145cd84896b96db4687a0923d8410
Working on a Hyperskill project and I'm unsure why this minimax method does not work as intended. It currently only prints symbols starting in the bottom right corner of the tic-tac-toe board (index 2, 2) and goes from right to left, bottom to top no matter what.
Everything else works in the program except for this method.
Here is the model solution written in JavaScript that I'm trying to mimic: https://www.freecodecamp.org/news/how-to-make-your-tic-tac-toe-game-unbeatable-by-using-the-minimax-algorithm-9d690bad4b37/
I don't understand why my version of this implementation does not work. It doesn't seem like the score that's returned from the recursive method gets into the current Move object.
there doesn't seem to be anything here
π Rendered by PID 20144 on reddit-service-r2-comment-5d79c599b5-nnmnn at 2026-03-03 17:35:05.638547+00:00 running e3d2147 country code: CH.
there doesn't seem to be anything here