-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
606c20b
commit 0636c0e
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<h1>Conveyer Belt Challenge</h1> | ||
|
||
<h2>The challenge</h2> | ||
|
||
See the challenge notes in this repository. | ||
|
||
This is a coding challenge for a conveyer belt. There is a factory production line around a single conveyor belt. Components (of type A and B) come onto the start of the belt at random intervals; workers must take one component of each type. | ||
|
||
<h2>The solution</h2> | ||
This is an Example of a Conveyer Coding challenge solution. | ||
|
||
The concept of this solution is broken down in to a few basic steps. This includes basic testing to test the conveyer-belt logic. | ||
|
||
<ul> | ||
<li>Create a Heartbeat, the concept of time.</li> | ||
<li>Assign a worker to a slot in the conveyer-belt.</li> | ||
<li>Allow the conveyer-belt to contain objects with an assigned value.</li> | ||
<li>Allow the worker to choose how it wishes to interact with the conveyer-belt.</li> | ||
<li>Allow the worker to process a slot on the conveyer belt.</li> | ||
<li>Allow the worker to stop processing items from the conveyer belt, and have a seperate process that can occure when conditions are met.</li> | ||
<li>Run tests to ensure the logics are correct.</li> | ||
</ul> | ||
|
||
|
||
<h2>File Structure</h2> |