Playground Management Library Project

Verified

Added on Ā 2019/09/16

|1
|630
|232
Project
AI Summary
This project requires the development of a Java library for managing a playground system. The library should handle various aspects such as defining domain classes, managing play sites (swings, carousel, slide, ball pit), adding and removing kids, managing queues with VIP features, calculating play site utilization, registering utilization snapshots, providing play history, and generating reports. The project should include a build script (Ant/POM), and the entire project directory with source code. A simple UI demonstrating the library's functionality is optional but appreciated. The library should not interact with any database and should use in-memory storage.
Document Page
Create a playground library (jar) that implements business logic for playground management module
within Someā„¢ system. These are things that we expect library will do:
- Define clear and usable domain classes, beans, components (interfaces) that should be used
by Someā„¢ system to access required functionality/data.
- Currently Someā„¢ system controls double swings, carousel, slide and a ball pit play sites.
- When incorporating library into Someā„¢ system, it should be able to configure various
combinations of play sites (for example two swings, one slide etc.).
- Library should NOT do any DB related operations, or use persistent data store, Someā„¢ system
only needs ability to read current playground state, for this in memory storage is enough.
- Someā„¢ must be able to add kids to play sites (we know kid's name, age, ticket number).
- It should be possible to enqueue kid or receive negative result if kid does not accept waiting in
queue.
- It should also be possible to remove kid from play site / queue.
- Play sites should not allow to add more kids to them than specified in configuration (or
implementation in case of double swings) of play site (done once on initialization).
- Play site utilization is calculated differently for each play site (most of play sites utilization is
percent of capacity taken (3/10 places taken for 30% utilization), double swings 100% if full
capacity, 0 if 1 or 0 kids, some not yet known play sites can have different calculation
implementations, this possible extension requirement should reflect in design) utilization is
measured in %.
- Register play site utilization during working hours (snapshots with configurable interval),
provide data on request for Someā„¢ system.
- Register queues on play sites (queue appears when Someā„¢ tries to add kid to play site, that is
full, and kid accepts waiting in queue).
- Implement VIP feature, where it would be possible to designate ticket with a possibility to skip
line X times, BUT a queue must maintain a balance of max 1 skip for 3 normal entrees. (ex. if
there are 5 waiting, and 2 vips come, one would get into front of line, second would be after 3
non vip's would enter the playsite, and total order would be VNNNVNN).
- Library should be able to provide history on what play sites kid played, and how long.
- Library should be able to provide a total visitor count during a day on all registered play sites.
- Library should be able to provide play site utilization snapshots taken during the working
hours.
- Reports can be provided as collections of classes (objects) representing data points.
- Some proof should be provided, that show how the library works.
We would appreciate if build script in the form of ant/pom file is provided we use IntelliJ for
development, so if archived project is provided, this makes our lives easier.
It doesn't matter what IDE was used, we would like to receive whole project directory with sources
and other information, please don't include executable files as they are sometimes blocked by mail
servers.
if you can provide some project with UI(simple web, applet etc. application) that shows that/how
library is working and/or how it should be integrated, we promise to look, however this should not be
done at expense of library development quality/features.
tabler-icon-diamond-filled.svg

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
chevron_up_icon
1 out of 1
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]