American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Android Game Dev – Gamas

May 7 @ 6:00 pm - 7:00 pm

Today We Did
  1. We finished the 3 by 3 grids for the game board.
  2. We added clickListeners for all the 9 boxes.
Homework
  1. When you first enter the Main page, set player1 name on the red Status bar textView.
  2. As you click on the box, it needs to switch the turn to player2 and reflect player2 name on the Status bar textView.
  3. You need to continue doing this alternating between player1 and player2 turns and displaying the names in status bar.
  4. Hint, you need to declare a class attribute to keep track of player’s turn.
  5. Look at screenshot below, you do not need to do the X and O image yet on the board. You just make sure the player’s turn is displayed in status bar.

Details

Date:
May 7
Time:
6:00 pm - 7:00 pm
Verified by MonsterInsights