American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

1 PM – Android Game Dev – Gamas

March 25, 2023 @ 1:00 pm - 2:00 pm

Homework
  1. Continue on Tic Tac Toe game.
  2. In the activity_main.xml, change the color of the “Start Game” button from purple to blue, similar to activity_game.xml.
  3. Inside GameActivity.java use for loop to add action listener to 1st row.
  4. After this, also use for loop to add action listener to 2nd and 3rd rows.
  5. If you do it properly, all boxes, when you clicked, will spit out “box clicked” message in the “Run” tab.
  6. The hint, you have to change the “boxId” every time you loop. Utilize the “i” in the for loop.

Details

Date:
March 25, 2023
Time:
1:00 pm - 2:00 pm
Event Categories:
,
Verified by MonsterInsights