Discussions
Categories
- 385.5K All Categories
- 4.9K Data
- 2.5K Big Data Appliance
- 2.4K Data Science
- 453.4K Databases
- 223.2K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 47 Multilingual Engine
- 606 MySQL Community Space
- 486 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.2K ORDS, SODA & JSON in the Database
- 585 SQLcl
- 4K SQL Developer Data Modeler
- 188K SQL & PL/SQL
- 21.5K SQL Developer
- 46 Data Integration
- 46 GoldenGate
- 298.4K Development
- 4 Application Development
- 20 Developer Projects
- 166 Programming Languages
- 295K Development Tools
- 150 DevOps
- 3.1K QA/Testing
- 646.7K Java
- 37 Java Learning Subscription
- 37.1K Database Connectivity
- 201 Java Community Process
- 108 Java 25
- 22.2K Java APIs
- 138.3K Java Development Tools
- 165.4K Java EE (Java Enterprise Edition)
- 22 Java Essentials
- 176 Java 8 Questions
- 86K Java Programming
- 82 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 208 Java User Groups
- 25 JavaScript - Nashorn
- Programs
- 667 LiveLabs
- 41 Workshops
- 10.3K Software
- 6.7K Berkeley DB Family
- 3.6K JHeadstart
- 6K Other Languages
- 2.3K Chinese
- 207 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 474 Portuguese
Logical error: Beginer TicTacToe program.

Hello!
I recently just finished the codecademy and educative beginner Java tutorials (with much difficultly!), and as my first challenge I decided to try to code a simple TicTacToe program. I was able to get it to this point, but I can't seem to figure out:
A: Why my "Tie code" in my check winner method keeps breaking, as when I play my game it says there is a tie even if there is still a open spot or two.
B: After two runs of the game, the board does not seem to reset for some reason.
This is my first program that I have tried on my own, and any help understanding what I did wrong and even tips for useful changes to make in the future would really help out!
Thank you very much!
(By the way I use eclipse.)
Answers
-
I seriously doubt many people will download and unzip a file from a stranger on the internet.
It appears you are asking about logic in your (Java?) code. This forum discusses management of Oracle databases. Sounds like you would be better of looking for a forum for Java programmers.
-
Thank you Ed,
I had not thought about that when I uploaded my zip file, thank you for telling me. Is there a way for me to upload my program so people can help me?
Also, thank you for telling me I was in the wrong spot, this was just the first place I had tried, but do you have any Java forums that you would recommend?
Again, thank you for you help!
P.S. I think it's pretty funny to think of my files as suspicious, as I know that even if I wanted to, I am far from experienced enough to code anything that would do anything real! But yes, now that you mention it, I would not want anyone downloading random files.
-
I'm not a java programmer, so am not familiar with the resources available. What did you discover when you googled "java programming forum" ?
As for how to upload code, that will depend on whatever platform you find a suitable forum.
-
To be honest, I tried this first. I though that the spot I had downloaded java would be the most reliable source. With that said, I will do google now, but I thought that I would see if you recomended one to try first.
Thank you!