Art Walking, Anew: High Level Design (HLD) Document 1. Introduction The Problem A new 24-hour gallery wing is opening in the Louvre Museum in Paris. The gallery will have three pieces of art located in the gallery. A random number of people (0-4) will enter the gallery every time step. Each person will try to view at least 50% of the artwork in the gallery. A guest will become “happy” once they view 50% of the artwork; a guest will become “unhappy” if they can’t move for a certain number of time steps, and will exit due to frustration. Your Assignment The curator of the museum has assigned you to help maximize foot traffic in the gallery while also maximizing the number of art pieces in the gallery. You will also need to monitor the number of unhappy guests in the gallery. The curator will add a work of art every 24 hours until the number of unhappy guests is 80% or after 30 days, whichever happens first. 2. Subject Matter Experts Agreement List Name Title/Role Mandatory Reviewer (Y/N) Your Name Developer Y Phil List Supervisor Y Eric Horton Intern-apprentice Y wrangler Mentor Name Mentor Y Approved 3. Requirements The Challenge You want the maximum number of happy guests possible; they will be happy if they are able to view at least 50% of the artwork in the gallery. You will also try to maximize the number of art pieces in the gallery. The curator will add an art piece every 24 hours until the number of unhappy guests is 80% or after 30 days, whichever happens first. Using this information, try to maximize the number of happy guests and art pieces in the gallery. What is the best arrangement of the art pieces in order to maximize these values? The guests will visit the gallery every time step. They will move around the gallery trying to view a work of art. Once the guests enter and move around the gallery they will become happy or unhappy. The guests will move one square in any direction each time step, unless another guest is in their way. 1. Happy A guest will be filled with contentment and wonder (happy), if they are able to view (stand next to for 1-5 time steps; developer’s choice) at least 50% of the artwork. Once they become happy, he/she will head directly toward the exit. 2. Unhappy Guests will have a crowd tolerance randomly assigned to them when they enter the gallery. Guests will count how many times they cannot move because someone is in their way. When the guest count number equals their crowd tolerance number, the guest will head directly to the exit out of frustration (unhappy). Variables The Developer can change: • Crowd Tolerance (5-25 time steps) • Time to View a Work of Art (1-5 time steps) • Number of People Entering (0-4 per time step) • Arrangement of the Works of Art Constants: • • • Time step: 30 seconds Gallery size: 20 x 40 pixels Guests, Entrance, Exit, Art: 1 x 1 pixels You Need To Complete 1. An AgentSheets Model Or 2. A JavaScript Model 4. Timeline This is due within five days of receipt of the task (that would be Friday, June 20 for those receiving this Monday, June 16). It is better to complete this sooner, so that you can begin implementing an HLD that one of your classmates has written. 5. Desired Behavior / Components The Gallery The gallery is a 20 x 40 rectangle which contains guests, artwork, entrance, and exit. The Guests The guests will visit the gallery every time step. They will move around the gallery trying to view a work of art. Once the guests enter and move around the gallery they will become happy or unhappy. The guests will move one square in any direction each time step, unless there is a guest on all four sides. Depictions: Happy A guest will be filled with contentment and wonder (happy), if they are able to view (stand next to for a certain number of time steps) at least 50% of the artwork. Once they become happy, he/she will head directly toward the exit. Unhappy Guests will have a crowd tolerance assigned to them when they enter the gallery. Guests will count how many times they cannot move because someone is in their way. When the guest count number equals their crowd tolerance number, the guest will head directly to the exit out of frustration (unhappy). Movement: Guests will move in any direction (north, south, east, west) every time step unless the square is occupied by another guest. If a guest cannot move, they will add one to their counter. Also a guest will move toward the exit if they become happy or unhappy. The Artwork Every 24 hours, the curator will place a new work of art in the gallery until the number of unhappy guests is 80% or after 30 days, whichever happens first (Each time step is 30 seconds). The placement of the artwork is up to you. The model will pause after 24 hours; you should place a new work of art at that time, and then the model resumes. The Entrance The museum will have an entrance located on the right side of the gallery. A certain number of guests (0-4) will enter every time step from this entrance. The entrance is a 1 x 1 square. The Exit The museum will also have an exit located on the left side of the gallery. Once guests become happy or unhappy, they will move toward the exit. The exit will also be a 1 x 1 square. 6. Conclusion The goal is this activity is to demonstrate your understanding of agent modeling. You will create this model in AgentSheets or JavaScript. To conclude your model, answer the following questions: • • • • What was the most challenging part of the model to implement? Explain. Did your model accurately represent the situation provided? If so, how precise was it? Was your choice of modeling style (AgentSheets or JavaScript) a good choice? Why did you choose this style? Explain. Could you improve this model or HLD in anyway? If so, how?
© Copyright 2026 Paperzz