Hello everyone,
I am writing a simple abstract game in an attempt to learn java programming, and eventually Android apps. I have been a windows/C++/C# programmer for over 20 years, but I am new to java. I have a solid understanding of the language, threads, GUI, etc.
My question is, how do I implement the state machine logic for a game where there is an initial welcome screen, which switches to the game screen, and allows the user to make a move, then the computer, then the user, etc.
I’m looking for a tutorial that goes beyond “Hello World” or “How to start a background thread”. I just can’t seem to get my head around the state machine logic for a simple game like tic-tac-toe.
I’m hoping someone has a link to a tutorial for a “your turn/my turn” type of game.
Ed