« All Events
1 PM – Android Game Dev – Gamas
April 29, 2023 @ 1:00 pm - 2:00 pm
Today We Did
- We implemented RESET GAME button.
- We added tag to each of the boxes.
- We started working on checkForWinner() method.
Homework
- In the class today, we added code to check for winner for all horizontal rows. After we found a winner, set statusBarLabel UI component to “We have a winner”.
- Add code to check for winner in all vertical rows and if a winner is found, set statusBarLabel UI component to “We have a winner”.
- Add code to check for winner in all diagonals and if a winner is found, set statusBarLabel UI component to “We have a winner”.
- My latest code can be found in here.