Tic-tac-toe game using Android
Welcome to TicTacToe.
This tic-tac-toe game was developed using Android Studio, the official integrated development environment for Google's Android operating system, designed specifically for Android development. If you don’t have Android Studio yet, you can download it at https://developer.android.com/studio/index.html The game itself allows two humans (player X and player O, no AI) to compete again each other. The layout is very simple. A 9 square grid, where player X and player O compete against each other. Whenever there is a draw or someone wins, the game displays which player won along with the option to play the game again.
How do you start building it? Once You have download and installed Android Studio, you can start a new project with a activity template, the blank one to begin building the app. The first thing you will want to do is set up the layout for the game, A 9 square grid vertically on top and a play again button on button. Once the layout is figured out, you are good to go for the coding part.
How to run it? It is very simple, Unpack the download ZIP (from this repository) and open Android studio
- Go to File -> New -> Import project and look for the unpacked file in your computer
- Application Name: Tic Tac Toe will appear to the users, select it and open it.
- If you try to run, there will be a prompt message to let you know that you need and Create Virtual Device.
- So do this, From the Your Virtual Devices page of the AVD Manager, click Create Virtual Device.
- Select a hardware profile, and then click Next.
- If you don't see the hardware profile you want, you can create or import a hardware profile.
- Once the application is successfully imported, Go to Run -> Run App.
I hope you enjoy it!