This game was made using the custom engine we got from school.

This game was supposed to be a simple shop where you can buy and sell stuff.

I went a little too far with my inventory system and tried to make it to where you could hold up to (I think) 75 items instead of the basic 5. I also made a shop that can be randomized with 2 different items. It also had a dungeon you could enter when you'd exit the shop, there were also supposed to be enemies you could fight and gain loot and gold but I never got to that part. There is a dungeon but that's it. There was a potion and a sword item which were both usable once but since there wasnt any health or damage they were both pretty useless. The cool part was that when you would drink a potion, attack with your sword, or buy an item, there would be a popup on the bottom of your screen saying what you did. I think I did more than some others and even though it wasnt perfect and didnt have everything I wanted, i was still really proud with the result. It was something I made and I went further than the exercise required me to, so i was proud that it worked (for the most part).

This was how the shop looked, it also would show Sold Out signs when you bought the item in that position.

And this was the dungeon, as you can see the shop is gone and there is an enemy (red square) in front of you. Yet this enemy is not interactible in any way so you can go back to the shop by using the door again.

The code for this game is a bit more complicated than the other one, sometimes even I had trouble finding what was wrong in my code or where to add more.

This piece of code is if you hover over a sword in your inventory it will display a message and once you click on it, it will write something in the console, I have about the same code for the potion item, just different text of course.