American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

5 PM – Android Game Dev – Gamas

August 12, 2023 @ 5:00 pm - 6:00 pm

Today We Did
  1. We reviewed the GameActivity.addClickListenerToAllBoxes()
  2. We started checkWinner() method.
  3. You can view my latest codes in here: https://gitlab.com/gsugiart/android-tic-tac-toe/-/tree/SAT-5PM-Gamas/app/src/main/java/com/ayclogic/tictactoe?ref_type=heads
Homework
  1. Inside GameActivity.java, inside checkWinner():
    1. Add code to check the tag of the first column is the same with the tag of the 2nd column.
    2. Add code to check the tag of the first column is the same with the tag of the 3nd column.
    3. Add code to check the tag of the first column is NOT empty String.
    4. If all three conditions above are met, System.out.println(“We have a winner”).

Details

Date:
August 12, 2023
Time:
5:00 pm - 6:00 pm
Event Categories:
,
Verified by MonsterInsights