This project is just a basic tic tac toe game for starter project. The idea is having two player in the game, and these two players are represented by either red or yellow. This a 3x3 tic tac toe game
Flow ChartThese are steps needed for this project
- Download the android studio ide
- Download the source file. In this source file, the images are provided
- Open the file with ide
- Create a grid view for each square
- Drop one of the chip(Red/Yellow) into the square
- In the xml file, set up the tag for each chip so it is easier for developer to generate the source code
- Implement the source file in MainActivity.java. Each line of code is provided with comment of explaination
The project finished successfully. The result is diplayed in figure 3,4, and 5. In this project, I have learnt about grid layout, tag number and action onclick in XML. Besides, the built in function such as findViewById(),setVisibility(),getChildCount(), and getChildAt()