Create a Tic-Tac-Toe Game using Java

Offered By
Coursera Project Network
In this Guided Project, you will:

You will be able to set up your working space, create a class, set up the main method & print in the console.

You will be able to write a method signature, for loop, simple recursion example & initialize 2D arrays with different data types.

You will be able to learn return types of methods, switch conditions, pass parameters & input from users in console. 

Clock1 hour 30 minutes
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

By the end of this project, you will create a Tic-tac-toe game using Java on Eclipse platform, which will improve your coding skills and your problem-solving tactics. Moreover, you will be able to create classes, define the object-oriented concept, identify the different types of methods and be able to use them,learn when to use if and switch conditions, get a glimpse of the 2D arrays and lastly you will be able to use loops to your advantage. You will create a game from scratch. The game will be a player (you) against the program created using the console log for input & output. Java is the base and most popular coding language for you to enter the programming world. The project will teach you basic programming fundamentals and will open the door for you to create rich cross-platform applications. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

RecursionProblem SolvingGame creationJavaEclipse

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. By the end of Task 1, you will be able to set up your working space, create a class, set up the main method & print in the console.

  2. By the end of Task 2, you will be able to write a method signature, for loop, simple recursion example & initialize 2D arrays with different data types.

  3. By the end of Task 3, you will be able to learn return types of methods, switch conditions, pass parameters & input from users in console. 

  4.  By the end of Task 4, you will be able to generate random numbers & break out of iterations.

  5. By the end of Task 5, you will be able to call methods in the same class, implement if conditions & learn Boolean variable usage.

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.