The Alien Pseudocode
Hi Visitor, For the First Action project in code we were asked to make a pseudocode of a game. Due to this being an introductory project we did a group activity where we got into 2 small groups and one person had to be blindfolded and essentially go through a course based on the directions we as a group chose to write down and say to the blinded partner. This helped us give a sense of how a computer would think since we removed the senses that would give people an intuition to easily go through the small course that was set up. I did my project on the classic game "Space Invaders" and this is my attempt to make a Pseudo code of it.
The hardest part for me was trying to find the right words and breaking down the game to a level where I can find words that I think the computer would understand. I think there would be tons of errors; just to point one for example the bullet code line because I didn't define how a bullet would move towards the alien ships; I just hoped for the best. I tried not to leave out anything due to the space invaders game being simple, and if even one element of the game was missing it would heavily affect the enjoyment level. If I had more time I would definitely use words from a specific coding language that is made to design games to make sure that the words I'm using the computer would actually understand.
Comments
Post a Comment