Simple Tic Tac Toe (two players) game development with Java programming language.

Introduction

The game which I've built using Java programming language is played between two players and it's fairly simple. It has two classes - Main.java and GameBoard.java.
The class, GameBoard.java contains the necessary constructor and methods and in the Main.java class, a new instance of the GameBoard.java class is created to start the game.

There is a video at the end of this blog where you can see how the game would look like in the end.

Code



This is how in the end the game would look like...




It's not much. But, I believe building such small projects may help those who are getting started with object-oriented programming to grasp the major concepts of it.

HAPPY CODING!

Comments

Popular posts from this blog

How To Set Up SDL 2 In CodeBlocks On Windows