City Walk - Concepción -  Saturday Market
20:46
85 Li Containerizing Database
9:48
3 жыл бұрын
Game of Life via Python Turtle
2:41
3 жыл бұрын
Tower of Hanoi via Python Turtle
2:13
Snake via Python Turtle
8:02
3 жыл бұрын
Chaos Game via Python Turtle
4:31
3 жыл бұрын
Monte Carlo approximation of Pi
2:46
Tower of Hanoi
2:18
4 жыл бұрын
Sokoban Solving Demo
1:53
4 жыл бұрын
Game of Life via Python Turtle
3:06
4 жыл бұрын
Bubble Sort Visualization
1:09
4 жыл бұрын
Пікірлер
@columwiggins6737
@columwiggins6737 27 күн бұрын
Clown pride parade 😂
@user-ld4xq9nh3s
@user-ld4xq9nh3s Ай бұрын
Typicall lrish they can never make up their minds. BELFAST ESPECIALLY CATHOLICS PROTESTANTS NOW GAY ACTIVISTS SO THE MAJORITY OF THESE HARD MEN FROM THE 60S 70S and 80s have now produced woke grandkids etc has religion failed them l wonder ??????
@Team-fabulous
@Team-fabulous Ай бұрын
Nothing to be proud of here. Disgusting behaviour from the demons of hell ..
@timwatkins3271
@timwatkins3271 Ай бұрын
👍🏼 they all need to learn how long a month is, theirs seems to go on for 365 days.
@timwatkins3271
@timwatkins3271 Ай бұрын
Must of been like a priests scrapbook 😂
@anthonywhelan5419
@anthonywhelan5419 Ай бұрын
I only want to see orange lads marching through the streets of Belfast and I'm Irish Catholic. At least the prods are entertaining.
@zhengli2589
@zhengli2589 29 күн бұрын
my reply keeps disappearing and I don't know why... Thanks for comment. :-)
@JasonPhillips-yk3pv
@JasonPhillips-yk3pv Ай бұрын
Progressive paedo's on tour!!
@steve-en7bm
@steve-en7bm Ай бұрын
Being gay is not a problem. But grown men acting like children?
@zhengli2589
@zhengli2589 29 күн бұрын
my reply keeps disappearing and I don't know why... Thanks for comment. :-)
@lmadeira9826
@lmadeira9826 Ай бұрын
Absolute bonkers nonsense. Wearing a mask and keeping six feet apart, for one of history's greatest scams has brought us to this.
@timwatkins3271
@timwatkins3271 Ай бұрын
It all started 25 years ago under Bill Clinton long before 2020 😂
@itz_ennard2601
@itz_ennard2601 Ай бұрын
I saw myself, sibling and his bff in the parade I had blast there we were all wet by the rain 😅❤
@timwatkins3271
@timwatkins3271 Ай бұрын
Well you didn't get wet from the snowflakes melting 🙄
@zhengli2589
@zhengli2589 29 күн бұрын
my reply keeps disappearing and I don't know why... Thanks for comment. :-)
@user-xp6xc8wr8b
@user-xp6xc8wr8b Ай бұрын
Thought it was a pride parade not anti Jew, Shame
@zhengli2589
@zhengli2589 29 күн бұрын
my reply keeps disappearing and I don't know why... Thanks for comment. :-)
@carlatomlinson5906
@carlatomlinson5906 Ай бұрын
I saw myself with my bff we were both in bi flags drenched from head to toe 😭🤚
@zhengli2589
@zhengli2589 29 күн бұрын
my reply keeps disappearing and I don't know why... Thanks for comment. :-)
@lisanelson9979
@lisanelson9979 Ай бұрын
Thanks for posting 🌈
@johniffermarston
@johniffermarston Ай бұрын
i had so much fun here!!!! hope you enjoyed yourself aswell :)
@zhengli2589
@zhengli2589 Ай бұрын
"Rain on me." 😄 Indeed, lots of fun.
@asl19999
@asl19999 Ай бұрын
disgusting
@audspod1
@audspod1 Ай бұрын
I hope you enjoyed the Belfast City Walk. A very different city from when I worked there in the 1970's! I hope to do the same walk soon.
@zhengli2589
@zhengli2589 Ай бұрын
Thanks! It was a very lovely sunny day in Belfast. :-)
@audspod1
@audspod1 Ай бұрын
My favourite city!
@audspod1
@audspod1 Ай бұрын
I hope you enjoyed your day out at the parades. This is part of our Northern Ireland culture. It may seem alien to you but it represents our breakaway from the Roman Catholic faith (King James) to the Protestant faith (Prince William of Orange), which has been upheld ever since. Thank you for sharing.
@zhengli2589
@zhengli2589 Ай бұрын
Many thanks for letting me know more about this cultural event. :-)
@zhengli2589
@zhengli2589 2 жыл бұрын
If you have done very well with the game of Guess the Number, then let’s try a new and magic game. Assume you have an invisible triangle, and you can draw its three nodes first. I show you the base code as follows: ######################################## import random import turtle turtle.TurtleScreen._RUNNING = True myScreen = turtle.Screen() myScreen.setup(width = 1.0, height = 1.0) # Three fixed nodes of the triangle. You can of course change the locations of the nodes. R=300 x1=0 y1=R x2=-R y2=-R x3=R y3=-R myPen=turtle.Turtle() # Draw the three fixed nodes myPen.penup() myPen.goto(x1,y1) myPen.dot() myPen.goto(x2,y2) myPen.dot() myPen.goto(x3,y3) myPen.dot() # Starting point can be any location inside the triangle myScreen.exitonclick() ######################################## Then, you can program to draw more dots by following the steps below: (1) Start from a random location inside the triangle. Don’t draw anything yet. (2) Randomly select one of the three nodes of the triangle. (3) Find the middle point between your starting point and the randomly selected triangle node. (4) Draw a dot at this middle point, and treat this middle point as your new starting point. (5) Repeat from Step (2) to Step (4). Please take this opportunity to program with natural language thinking. When you translate your natural language solution into Python program, please pay more attention to practicing the decision making and looping logics.
@zhengli2589
@zhengli2589 2 жыл бұрын
I strongly suggest everyone to try this optional Task for fun: Moving a black square around. Please refer to the demo in the lecture video and try to move the black (or different color) square along different directions. You may imagine this optional task in the context of this game Snake. But you are developing a never-growing snake. Moving a black square is actually changing colors of different squares on a map. As the first step, you may try to make the same square “flash”, i.e. changing the color of the same square. Please read and copy the following code of flashing a square to play a bit. Then try to “move” the square by yourself. # Flashing a square import time import turtle turtle.TurtleScreen._RUNNING = True turtle.tracer(0, 0) myPen=turtle.Turtle() int_edge = 20 # Ten times flashing for i in range(10): # Start drawing a square in black myPen.begin_fill() myPen.penup() myPen.goto(0,0) # Go to a particular position as the bottom left corner of the square myPen.fillcolor("black") myPen.pendown() # Drawing four edges of the square for k in range(4): myPen.forward(int_edge) myPen.left(90) myPen.end_fill() turtle.update() # Finish drawing the square in black time.sleep(0.5) # Start drawing a square in white myPen.begin_fill() myPen.penup() myPen.goto(0,0) # Go to a particular position as the bottom left corner of the square myPen.fillcolor("white") myPen.pendown() # Drawing four edges of the square for k in range(4): myPen.forward(int_edge) myPen.left(90) myPen.end_fill() turtle.update() # Finish drawing the square in white time.sleep(0.5) myScreen = turtle.Screen() myScreen.exitonclick()
@rayadragon8278
@rayadragon8278 2 жыл бұрын
code ??
@zhengli2589
@zhengli2589 2 жыл бұрын
It's a demo for explaining an assignment to students. The suggested implementation process is given above, but the source code cannot be disclosed......
@armelkengnekuate2906
@armelkengnekuate2906 3 жыл бұрын
can i have algorithm of this game? please?
@zhengli2589
@zhengli2589 3 жыл бұрын
Hi Armel! This demo is mainly for explaining and demonstrating object-oriented analysis and design (ieeexplore.ieee.org/abstract/document/7044115). The algorithm I used is A*(ish), nothing special. If you are interested in real algorithms for the Sokoban game, you may want to have a quick look at: The Sokoban Challenge: An Analysis on Past, Present, and Trends in Algorithms and Heuristics for Automatic Solving of Sokoban Problems sokoban.dk/wp-content/uploads/2016/02/documents.mx_the-sokoban-challenge.pdf Solving the Sokoban Problem drive.google.com/file/d/14WqBb7STedxegFwTkbMdxqJXvcImhf0D/view?usp=sharing By the way, identifying and using "dead" (unmovable) states can significantly reduce the search space.