In this lesson we do a quiz testing the knowledge you have learned from the last two lessons – is an element of, is a subset of, finite, infinite, cardinality etc.
In this tutorial we create some still enemy objects, and make them disappear when they collide with our missiles.
Today I explain the concepts of subset, empty set, finite set, infinite set, equal set, equivalent set, and cardinality.
In this tutorial we fix a potential future bug by limiting the array size of missileArray to 5. We create 5 missile picturebox objects at the beginning of the game and change their positions during the game, instead of adding a new picturebox element to the array (and making the array bigger and bigger) everytime …
In this lesson we learn about what a set is, and the symbol for “is an element of” and how to use that symbol.
In this lesson we limit the number of missiles we can shoot on the screen at any one time to 6. E.g. You can’t shoot more than 6 missiles on the screen simultaneously.
You have two sets which contain the same elements but their order is different. Are they the same set?
In this lesson we shoot multiple missiles by creating a missile Array and adding new missiles to the array every time we shoot.
In this tutorial we talk about what cardinality of a set means, then we go through how to find the number of elements in the union of two sets, by using the formula |A|+|B|-|A and B|=|A or B|.
Continuing from the first lesson, in this lesson we program an event handler for when the space bar is pressed to generate a missile to shoot upwards.