Junior Year Shop Work

File Handling and Maps in Java

     In this assignment I made a password checker. It prompts you for the password, then you can enter it. You give it a text file with each line formatted as “Name:Password”. The program then gets a random line and asks for the password for the name.

     I learned how to handle files in Java. I can read and write to text files. It also taught me how to use maps. Maps are basically a list/array that uses keys instead of indices. So you can say “get me the item with key key” instead of “get me the item at position 1

Ninja Adventure

     Ninja Adventure is an implementation of RPG mechanics. We implemented combat, mana, and health. You use space to attack, which, depending on the weapon, can use mana. And when you run out of mana you can no longer attack. You can talk to NPCs and they will give you information.

     I learned how use the new input system in unity and how it is more useful than the old one. It allows the use of multiple keys for the same action much easier than the old did. This project also taught me how to use a grid tile system for placing ground. Instead of individaly place objects, I can paint with tiles. It also reinforced my knowledge of using prefabs in unity to create duplicate objects.