Welcome to my blog
Tic tac Toe Game Introduction This is the Tic tac toe game making for fun and practice for Android Development in this game we using Android Studio I am only write the logic for making a tic tac toe game in this blog Java code of Tic tac toe game This code is in the main activity code package com.example.tictactoegame ; import androidx.appcompat.app.AppCompatActivity ; import android.content.Intent ; import android.media. Image ; import android.os.Bundle ; import android.view.View ; import android.widget.Button ; import android.widget.ImageView ; import android.widget.TextView ; import android.widget.Toast ; import java.sql.Time ; public class MainActivity extends AppCompatActivity { int activePlayer = 0 ; boolean gameActive = true ; int [] gameState = { 2 , 2 , 2 , 2 , 2 , 2 , 2 , 2 , 2 }; int [][] winpositions = {{ 0 , 1 , 2 }, { 3 , 4 , 5 }, { 6 , 7 , 8 }, ...