« All Events
1 PM – Android Game Dev – Gamas
August 26, 2023 @ 1:00 pm - 2:00 pm
Today We Did
- We learned how to add alert dialog in Tic Tac Toe.
- We continued on Magic 8 Ball.
Homework
- Open your old Intro To Java project, learn how to create random number between 0 to 3.
- Inside the method that is called when you click on the “Ask” button, do the following:
- Create random number between 0 to 3.
- if number is equal to 0, display ball1.png
- else if number is equal to 1, display ball2.png
- else if number is equal to 2, display ball3.png
- else display ball4.png