Generate 50 random numbers and draw them as bars. Following the steps of insertion sort algorithm and redraw the bar every single step to show how bubble sort works. Compare
Draw the 50 random isosceles trapezoids with random locations, random sizes, and random filled colors. Hints: Create a function that draws isosceles trapezoids given position, direction, height, base and top
Game of SIM was inventedĀ in 1969 by Gustavus Simmons. In this two player (red and blue) game, each player takes turn to connect two vertices of a hexagon with the