Posts

Showing posts with the label Computer Science

Survey Assignment: D&D

When making the survey, I wanted six questions on D&D and a bonus question on predictability. The questions were:  Are you familiar with D&D? What alignment would your favorite character identify as? What major stat(s) would your favorite character have? What is the most useful spell in D&D and why? What is your favorite edition of D&D? Have you been the DM? Bonus! Choose a five digit number you think no-one else has chosen, and say why you chose that number. Some interesting responses were:  hexadecimal FF0000 (six digits) -71657 (negative)  five exact same answers, I think their browser was repeatedly sending the response whenever opened I have made one other survey for some school friends on google forms so that is why this one is on google forms. I chose five questions about D&D with one familiarity question and one bonus predictability question. I was particularly interested in the bonus question because I wanted to see the reasoning b...

DiamondFire Programming Project

Image
  For programming, I made an item generator in DiamondFire. DiamondFire is a Minecraft server which  has users program their own games with a unique block-based programming language, as seen in the image. The item generator gives the player a random item which they can use to build or craft tools. The code runs when someone right clicks, and if they are holding the generator it randomizes the tier of their rewards. I used an if-then-else tree to determine what tier was generated, and I used the GiveRandItem function to determine the item they get. The higher the tier, the more useful the rewards. Later I will make single-use special boxes for more rewards.

Scratch Program

Image
  In this program I used the programing platform scratch to create a simple game. When you press space the game starts. You control the square by pressing wasd .You (the square) start spawning the "bullet" (the triangle). The purple circle is the "enemy". It drifts around the screen until it hits you. It then teleports away. It will also teleport away if the "bullet" hits it. This was a fun little project and I look forward to assignments like this one. 

Water Cycle Program

Image
  I modeled freezing, melting, evaporating, condensing, and absorbing. I wasn't able to do animations because animating cant work well in many situations. I have included sound; I included a "pop" when the water appears, and I have added a glug sound when the water gets absorbed. I have also added the ability to move up and down when in cloud form and ice form respectively. I will add more movement options later.
Image
Snake Food Calculator A friend needed a spreadsheet to calculate the amount of food she needed to purchase every three months for her 20+ snakes. Eric and Kyle created a spreadsheet in google sheets, based on her requirements. They experienced the development process (requirements gathering, prototype, collaboration, review, debug, update), with me working as project manager. Images: submitted version vs initial prototype.   Eric: I really liked coming up with ideas and figuring out how to implement them. Learning about editable lists was a really fun part of the project. I didn't think editable lists were possible without changing the code every time you added or removed a item. I found making it user friendly yet functional very hard because I was trying to make it overly complex, so I had to simplify. Kyle: It was fun to make this spreadsheet in school because it was different from the usual droning on and on about numbers and formulae and I was helping real snakes and not this ...
Image
This week we have been parkouring (PE, Heath), and built a marble track which will require a few tweaks to get working smoothly (Art, Engineering/Computational Thinking).