Overview of Project
Our game is a little spin on the existing game “Little Alchemy”. The idea of the game is to combine parts to create other things, and we decided to use the theme of baking. The idea is to accumulate ingredients and combine them to create different dessert combinations.
- Sandbox - Drag and drop from inventory into ‘oven’ for combining
- Baking - Fetch the recipe from the backend to create a dessert, add points for each recipe found
- Shop - Ingredient organization with opportunity to buy with gained points
- Leaderboard - Orders the users with most points to least points
- Trading - Allows exchanging ingredients and recipes with friends
Instructions
- Users will start by registering their account to authorize access to the game
- The user will have a set inventory of basic ingredients in the ‘Baking’ category
- Drag and drop combinations of ingredients and ‘bake’ to see if they make a product that matches with a recipe
- If it does not make a recipe, keep trying, and if it does, it will be added to your inventory which gives your points and sometimes allows you to create more versions of the product, like with different flavors.
- When more points are earned, you can purchase special ingredients from the shop to use in more recipes, which expands the combination opportunities.
- Once users have started unlocking more products and recipies, they can add friends and trade with them in the “Friends” tab.
- Check the leaderboard for users’ point value placements in order
Requirements and Fulfillments
Program Code (Shop feature)
Requirement | Usage |
---|---|
Instructions for input from one of the following: the user, a device, an online datas stream, a file. | Our project utilizes user input. It involves the user purchasing ingredients from the shop, which adds the item to the inventory. |
Use of at least one list (or other collection type) to represent a collection of data that is stored and used to manage program complexity and help fulfill the users purpose | Inventory list starts as empty string and ingredients are appended based on user input in shop (items column in SQL database) |
At least one procedure that contributed to the program’s intended purpose where you have defined: the name, return type, one or more parameters: | There is a put request to edit the user’s ‘item’ data, which adds any bought ingredients to that column in the database. This performs the update function. |
An algorithm that includes sequencing, selection, and iteration that is in the body of the selected procedure | Within the previous function, there is the process of getting the input from the frontend, clarifying an if-statement, and the action of the function. Sequencing (getting info): Selection (referencing): Iteration (action): |
Calls to your student-developed prodcedure: | Put request for ‘updating’ user inventory, using JSON to connect data |
Instructions for output (tactile, audible, visual, or ) based on input and program functionality | Fetch from database for inventory |
Video Overview
The video covers my feature, which is the shop. The shop allows a user to buy ingredients past the default ones they start with. Each item costs a certain amount of points, which is deducted from the user’s point balance when they purchase the item. The item appends to the ‘items’ list in the database, changing the user’s inventory.
What’s Included:
- Shop feature with console view of action
- Show database change (items list, points)
- Show inventory before and after purchase
- Follows all requirements and restrictions of Collegeboard
- Link to Video