daniel-s-lee / dslee

MIT License
0 stars 0 forks source link

FInal Project Plan #8

Open daniel-s-lee opened 5 months ago

daniel-s-lee commented 5 months ago

"SHOP, SHOP, SHOP" will be a game where players can take their shopping to the next level with a realistic simulator.

Plan Outline Loops (Algorithmic)

List Comprehension Example: Create a list of ingredients with initial stock quantities using list comprehension.

Processing a List Using Conventional and For Each Methods: Iterate through the list of ingredients to update their stock quantities using both conventional (index-based) and for-each loop methods.

Sorting / Searching (Algorithmic)

Sorting Example: Sort ingredients based on their quantities to prioritize restocking.

Searching Example: Search for a specific ingredient in the list using a simple search function and SQLAlchemy for database queries.

Big(O) Notation: Space and Time Complexity

Sorting Algorithm: Discuss the time and space complexity of the sorting algorithm used (e.g., Timsort).

Linear Search Algorithm: Explain the time and space complexity of the linear search algorithm used for finding ingredients.

2D Iteration

Order Management Example: Use 2D iteration to manage orders, iterating through each order and its items to track preparation. Deployment (Full Stack)

Backend: Use Flask with SQLAlchemy for basic database management to handle user data, ingredient inventory, and orders.

Frontend: Develop a simple user interface using HTML, CSS, and JavaScript, allowing users to interact with the game.

Real-time Updates: Implement basic WebSockets for real-time updates, enabling users to see changes in inventory and orders.

Illustration of Multiple Users: Allow multiple users (chefs) to log in, update inventory, and manage orders concurrently, showing the collaborative aspect of the game.