/TicTacToe_MasterGame

A TicTacToe Game built for android devices having amazing features such as inbuilt scoreboard to track the game progress, new custom game Modes based on set time for each player(and also the total game),playing against a computer engine and so on.

Primary LanguageJavaMIT LicenseMIT

TicTacToe-MasterGame

A TicTacToe Game built for android devices having amazing features such as inbuilt scoreboard to track the game progress, new custom game Modes based on setting time for each player( and also setting time for the total game ), playing against a computer engine and so on.

GitHub code size in bytes GitHub last commit GitHub stars My stars GitHub forks Code size Languages Top Issues Watchers

Home Page Layout

image

Features

This Tic-Tac-Toe game currently has three game modes:

1) 1 v 1 against a human player with inbuilt scoreboard system which keeps on updating as the game progresses, cool animations, an alert system (toast) which alerts players about the outcome of the game as it is finished and users can continue the battle by clicking the Play Again button as the game finishes.

2) 1 v 1 Custom Game Modes: These Custom Game Modes are shown as below. In each of these game mode the games will last 10, 15 or 20 seconds as per the user's choice.

As soon as the user presses the START Button the game and the timer automatically starts.

As soon as the game finishes the timer stops automatically, updating the scoreboard and alerting the winner of the game as a toast message.

If the game is not finished and the time runs out, then the game will be considered a Draw and scoreboard will be accordingly updated. The user will be prompted to PLAY AGAIN or return to the HOME PAGE.

Currently these are the timer available in the custom game mode, will be planning to add a user custom game mode where users will be able to set the time of the game.

i) 10 seconds

ii)15 seconds

iii)20 seconds

3) 1 v 1 Computer Engine Mode: Currently this mode is not fully implemented as the game are not stored in the database and a ML model is not trained using that data. Currently in this game Mode after the user's response, the computer engine is playing a random move. It is under development and should be developed soon.

Tech Stack

1)Built entirely using Android Studio.
2)Plan to use SQLite/mongodb database to store the game played by the user and connecting it to a node server(using Express.js framework).
3)Tensorflow to build a ML model around the game which can be used by the computer engine.

Future Enhancements

1) Improvement in the UI of the application.

2) Adding custom User input game modes where users can set the duration of the game.

3) Using mongodb/SQLite database to store the games and handling that data with node server(using Express.js)

4) Training a ML model using neural network from the games and corresponding resullts collected(dynamic model).

5) Implementing the computer engine mode based on the trained ML model.

6) Introducing move takebacks.



Try it Now!

1) git clone https://github.com/arcAman07/TicTacToe_MasterGame.git and run it in Android Studio.

2) You can also copy the url https://github.com/arcAman07/TicTacToe_MasterGame.git and paste it in Android Studio under 'Get Project Using Version Control'.

3) You can then run this application either in your emulator( virtual device) or your smartphone.