Congratulations on programming your first platform game! You’re no longer just someonewho plays video games, but someone who creates them.
The computer science concepts you used to make this program are some of the most importantconcepts in video game creation: events and If statements. However, these concepts aren’tjust important relative to video games, but to nearly everything you can do with computerscience. When you take a computer science class in high school or college, you'll seethese familiar concepts that you're using every day again and again. Future classeswill teach you more about creating with the events, variables, and if statements thatyou're using in this CS First club. There’s also a good chance you will usesome computer science down the road, because the concepts and skills you are learning noware put to use in many different fields--even in ones you may find surprising. Artists,for example, use computer science skills like events and if statements to create art. Thereis an entire genre of art, called interactive art, that includes art pieces that activelyinvolve the user.
Here is an example of an interactive art installation: a dance floor that reacts to touch events.
When the user steps on the dance floor, it creates a spiral pattern. The artist is responsiblefor programming how the floor responds to touch events.
Here is the same dance floor, except now, the floor is a different color and behavesdifferently. The floor looks different because the artist changed its code.
Here is another example of interactive art, the “wooden mirror.” It is made up ofmore than 800 wood pieces that reflect light in different ways, forming a mirror imageof the user.
The wooden mirror works by taking a black-and-white video, then using if statements to controlthe wood pieces. If an area of the picture is dark, then tilt the wood piece in thatarea down. If an area of the piece is light, then tilt that wood piece up.
These interactive art pieces would not be possible without computer science. Knowinga little computer science, like you are learning in this club, can empower you to be more creativein whatever field interests you. Next session, we’ll explore randomness usinga dodgeball game.
Until next time-- have fun creating and coding. See ya next time!
"Escher Museum Interactive Floor" by vision2watch (https://www.youtube.com/watch?v=kaLgzVbfCHM) -- Licensed by Creative Commons Attribution-Share Alike 3.0 Unported (https://creativecommons.org/licenses/by-sa/3.0/deed.en) -- Video trimeed to needed length | Audio removed
"12092015 - John King at McKinley Technology High School for Computer Science Education Week Event-39" by US Department of Education (https://www.flickr.com/photos/departmentofed/23027602804) -- Licensed by CC BY 2.0 (https://creativecommons.org/licenses/by/2.0/) -- No modifications made
"Daniel Rozin, “Wooden Mirror,” 2014" by bitform gallery (https://vimeo.com/101408845) -- Licensed by CC BY 3.0 (https://creativecommons.org/licenses/by/3.0/) -- Video trimmed for needed length | Audio removed
"Contemporary Computer Lab" by PurchY0 (https://commons.wikimedia.org/wiki/File:Contemporary_Computer_Lab.jpg) -- Licensed by Creative Commons Attribution-Share Alike 3.0 Unported (https://creativecommons.org/licenses/by-sa/3.0/deed.en) -- Blocks overlayed on top of image