We continued with the Shoot Balloon project. Homework: When the user clicks on the Play Button: Reset count down timer. Clear the balloons. When the user pop the Balloon, play plop.wav soundRead More...
We continued with the Hangman Game project. We added a feature to replace the question mark from "clue" list with a letter that the user guesses correctly. Homework: In our hangman game,Read More...
Today We Learned: How to use if, elif, and else statements Difference between == and = What are >=, <=, >, <, !=, and == Homework: Pages 114-116 from the book, putRead More...
We added the player Duck image into the game. We added 2 tubes into the game. Homework: Change the Tube height according to the height passed in the init parameter. Use pygame.transform.scaleRead More...
Today we were able to complete the Mary Had A Little Lamb project. We don't have any homework this week since we just finished that project so have a good week!
Today we Learned: How to create a variable How to print variables Difference between Strings, Integers, Floats/Doubles, and Booleans String combination using “+” and f-string method How to use .title(), .upper(), andRead More...
Today We: Made the snow into stars Made a Rocket that is controllable using arrow keys Made an asteroid sprite Your HW: Make your asteroid fancy and also give it a tailRead More...
We finished Hangman project. We learn how to read Python error messages and fix it. Homework: Copy and paste the code from : https://www.ayclogic.com/fixing-python-bugs/ to your Thonny. Fix all the errors
We continued with Flappy Duck project. We were able to add gravity to the Flappy Duck. We made the tubes appear in the top and bottom. Homework: Make some progress on yourRead More...
We reviewed KaleidoSpiral. We learned an approach to drawing polygons and letters in Turtle and practiced drawing some letters. Your homework is to make more progress on your final project. You needRead More...
We added the background music and sound effect. We added the giant fireball sprite. Homework: Similar to draw_score() function, you have to create draw_giant_fireball_indicator() function. Where you want to display the remainingRead More...
We continued with Birdie game. Homework: We want to try to make the dragon flap its wing. Inside player.py, inside __init__ function, create one more class attribute: self.images = [] Use forRead More...
Today we Learned: How to make a for-loop with range(val1, val2) How to make a for-loop with range(val) What values are looped through when using range() How to use if-else statements inRead More...
We continued with Flappy Duck game. We discussed about creating Final Project proposal. Homework: If you have not created the Final Project proposal google doc, please do so. Look at this sampleRead More...
Today we: Completed Dino Dance Project Started Animal Race Project Your HW: Do pg. 51-53 If you do not have the book yet please look in this google drive for the pages:Read More...
We completed Kaleido Spiral project. We checked with everyone how the progress of their final projects. We learned how to make diagonal rectangle. Homework: Final project is due on October 17. PleaseRead More...
Today we Learned: How to use \t and \n How to use .rstrip(), .lstrip(), and .strip() How to make an if-elif-else statement Difference between == and = ==, !=, >, <, >=,Read More...
Today we were able to continue with the Doom on the Broom project. We will continue with the Forcefield next week, so don't worry about not having the code finished. For Homework:Read More...
We went through how to do function with return value. We went through how to use random modules. Homework: Do exercises in https://www.ayclogic.com/intro-to-python/star-wars-problem/
Today we Learned: How to use input() to get user input from the shell How to use int() to convert strings to integers How to use += Homework: Tell Me Your AgeRead More...
Today we Learned: How to use input() to get user input from the shell How to use int() to convert strings to integers How to use += Homework: Tell Me Your AgeRead More...
Today we Learned: How to make a list How to get values in a list How to use lists with f-strings How to use lists with .title(), .upper(), and .lower() Homework: pagesRead More...
Today we: Made the game able to be won or lost Made a new Banner Sprite Added a timer Your HW: Add music for when the game is playing, when you lose,Read More...
We continued learning how to read Python error messages and fix the problem. Homework: Study for 2nd Python Quiz next week. It is going to be 2 hours quiz. Learn how toRead More...
We finished robot firework, combining robot builder and kaleidoscope. We used rectangle and circles to draw a turtle. Your homework is to complete your final project which is due next Wednesday.
We reviewed Birdie game We started FlappyDuck project. Homework: Create Tube sprite Integrate Tube into main.py Display the Tube on the top of the screen.
We started Birdie project. Homework: Make the giant blue bird move to the right. You need to create variable X outside the while loop and increase the X value.
We continued with Flappy Duck project: We displayed the Flappy Duck (the player) in the screen. We went over the Final project progress a little bit. Homework: Make the flap its wing.Read More...
We were able to make the dragon flaps its wings by looping through 4 of its images/costumes. Homework: Right now the dragon is flapping its wing too fast. You need to makeRead More...
We continued with FlappyDuck: We made the player switch the costume when it hits the tube. Homework: Choose the song for your final project if you have not done so. In FlappyRead More...
Today We Learned: How to make a while loop Forever loops How to break from a forever loop Homework: In Oct10_TellMeYourAgeForeverLoop.py modify your TellMeYourAge.py code so that it is inside a foreverRead More...
We continued with FlappyDuck project. Homework: Create 2 tubes, one on the bottom, and one on the top of the screen. Inside tube.py: in the __init__ parameter, change from the "direction" parameterRead More...
Today we: Made the dog and bat move only after the cat counts down Made a new Finish Line Began to make the Winners Banner Your HW: Make the banner swap toRead More...
We reviewed everyone's progress on their final project. We learned how to draw polygons and letters. Your homework is to finish your final project which is due before class next Saturday. EmailRead More...
We continued with JavaFX Vehicle System We started adding edit button We added style.css to have the background image. Homework: Add the following icon image for the edit button. When done properly,Read More...
We went over starwars homework We created Magic 8 Ball project. Homework: Create the 2nd version of Magic 8 Ball project using Create a list of all possible answers Utilize random.choice toRead More...
Today we were able to complete the Doom on the Broom project. For Homework: Please create two roads for the Glacier Race project which will be on page 170. First create oneRead More...
We added the red bug on the screen. We added the chirping sound. Homework: Similar to how the balloon can be shot. Detect the collision between the red bug and the targetRead More...
Today We Learned: How to replace elements in a list How to add more elements to the end of a list using .append() How to insert elements anywhere in a list usingRead More...
Today we Learned: How to make lists How to get elements in a list How to use lists with f-string, .title(), .upper(), and .lower() Homework: pages 34-39 from the textbook, put inRead More...
Today we were able to finish up Virtual Snow as well as go over the project and all of its different parts. There is no homework since we did not start theRead More...
Homework: Make the Tube appear in both the top and the bottom of the screen. When it appear in the bottom of the screen, you have to flip it verticially. You needRead More...
Today we Learned: How to use a for-loop to print values in a list How to use f-string formatters inside a list-for-loop How to use if-else statements in a list-for-loop How toRead More...
Today We: Started the fireworks project Created the rocket Created the stars sprite Added a background Created Bang message broadcast Your HW: Make rocket costume fancy (Use pg 156 for help butRead More...
Today we learned starry night. We also learned how to draw an ellipse for someone's final project. I've extended the due date for the final project until next Wednesday, Oct 21. PleaseRead More...
We made the Tube appear in different heights and if the Tube on the top is tall, then the Tube on the bottom will be short. And Vice versa. We started withRead More...
We went over how to make Bird class in a separate python file (bird.py) We learned how to integrate bird.py into main.py Homework: Move the Bird diagonally from top left corner toRead More...
We made the Flappy Duck flaps its wings. We made the Flappy Duck falls down. Homework: When Flappy Duck falls down, restrict the self.y so it does not fall off the screen.Read More...
Today We Did: Quiz Review Things to Review for the Quiz: Variables and data types How to combine string using "f" formatter? IF ELIF ELSE How to get input from Shell input(),Read More...
Homework: In Flappy Duck project: Display the score on the top left corner of the screen. Look at how we displayed score in the Birdie project. Create 2 Game modes: GAME_STARTED =1Read More...
Homework: In Flappy Duck project: Create a new file: score_line.py Inside the file, create a new class called ScoreLine. the class should inherits from pygame.sprite.Sprite. Inside the __init__, It would have parameters:Read More...
Today started starry night. I’ve extended the due date for the final project until next Saturday, Oct 24. Please email chet@ayclogic.com your final project before class starts. After finishing your final project,Read More...
We went over how to edit Vehicle by using the same popup dialog for insert new vehicle. Homework: When user did not select a row and click edit button. Show an alertRead More...
Homework: Create a function "random_number" no parameter. This function will return a random 3 digits between 100 to 999. Create a function "random_password" no parameter. This function will do the following: CallRead More...
Today we Learned: How to use .title(), .upper(), and .lower() How to use the f-string method and “+” method for string combinations How to add code into f-string combination method Homework: pg.Read More...
Today we Learned: How to make a for-loop using range(val1, val2) How to use if-else statements inside a for-loop How to make a while loop How to make a forever loop HowRead More...
Today We Learned: How to replace elements in a list How to add more elements to the end of a list using .append() How to insert elements anywhere in a list usingRead More...
Today we were able to start the Spaceship project for the class. For Homework: Make sure that it is hidden, when the green flag is clicked. It should show up when theRead More...
Today We Did: Quiz Review Things to Review for the Quiz: Variables and data types How to combine string using “f” formatter? IF ELIF ELSE How to get input from Shell input(),Read More...
Homework: Make the coin appear randomly at the top and and the bottom Display the score on the top left corner of the screen. Look at how we did it in theRead More...
We created a lot birds periodically in Birdie project. We used all 4 different type of birds randomly. Homework: Right now birds appear from the left of the screen and move toRead More...
Homework Fix the Flappy Bird Title so it will appear properly Create coin.py and Coin class Inside coin.py, load coin_1.png and coin_2.png Integrate coin.py into main.py
Homework In Ask Gobo project when it answers NEVER, you should change the color of Gobo to red. Look at "Looks" purple section and use "set color effect" block to achieve thisRead More...
Homework Inside main.py, create self.score =0 Inside main.py, whenever the bird and the scoreline collide, you want to increase self.score by 1 Create coin.py Create Coin class which inherits from pygame.sprite.Sprite LoadRead More...
Congrats on finishing your final project! Today we started Baby Name Generator. You homework is to create a function "print_random_names". This function will take two parameter "names" which is a list ofRead More...
We finished Vehicle System Java FX Homework: Currently when searching maker, model, it is case sensitive. Make it case insensitive. For example if I entered HONDA, it should find Honda car.
We started Spaceship project We learned to create a star sprite and clone We learned to make clone appear on the top of the screen and going down We duplicated the starRead More...
We completed Password Generator program We started Hang man game Homework: Inside the while loop, check if the user input is the same with "secret_word". If it is, break from the loopRead More...
Today We Learned: How to make a function without return value How to make a function with return value Homework: pg 130-133, including the "TRY-IT-YOURSELF" on page 131, put in a fileRead More...
Today We Learned: How to use a for-loop to print values in a list How to use f-string formatters inside a for-loop How to use if-else statements in a for-loop Homework: PagesRead More...
Today we were able to review and finish the Spaceship project. We have begun the Fireworks Display project. For Homework: Please do from pages 156-158 and also make your fireworks look aRead More...
Today We Learned: How to use default parameters Homework: Star Wars Problem - Excercise 1, put in a file called Oct28_StarWarsProblem.py Lists,Inputs,IfandElse... Webpage - Problems 4-6, put in a file called Oct28_WebsiteHomework.pyRead More...
We completed Firework project today. Homeworks: 2 weeks from now is final test. You need to have the following to be able to take the test You need to have a gmailRead More...
Today we reviewed Baby Name Generator We reviewed some material and did some exercises. Your homework is to prepare for the final test which is from 6PM to 8 PM next WednesdayRead More...
Homework When the game mode is in LANDING_PAGE: display the logo and play button When the click on the play button, switch the game mode into GAME_IN_SESSION mode
Today we started Baby Name Generator. You homework is to create a function "print_random_names". This function will take two parameter "names" which is a list of names, and "num_names" which is theRead More...
Homework: The bird currently is flapping its wings too fast or too frequently. You need to slow it down Go to bird.py, inside flap_wing() function you need to delay the switching ofRead More...
Today we Learned: How to make functions without return value How to use parameters/arguments How to call a function Homework: pages 130-133 from the book, put it in a file called Oct31_FunctionsWOReturnHomework.pyRead More...
Homework Make the coins appear between Tubes Detect collision between Coin and Tube. When they collide, increase the score by 10 Display score on the top left corner of the screen. LookRead More...
Today we: Selected a background Gave the first 5 letters of our names special animations/effects when each letter was clicked When each letter was clicked a different effect/animation started playing Your HW:Read More...
Homework Display score on the top left corner of the screen. Look at how we did it in Birdie project. Make the coin appear in the top and bottom randomly. Hint: useRead More...
Homework: Last week in the class, we did tell me your age program. Change the program so it will continuously ask user about his/her age until the user enter "quit" or "exit"Read More...
Today We Learned: How to use a for-loop to print values in a list How to use f-string formatters inside a for-loop How to use if-else statements in a for-loop Homework: PagesRead More...
Homework: In Oct31_ListIndex.py, in the class we were doing a for loop. Inside the for loop do the following Find the index where "answer" variable exists in the "secret_word". Use the indexRead More...