recursal/Fanatic-Fandom huggingface dataset:
Welcome

◀ Back to conceptMAIL
"Welcome' is the first email you get from in the game, where you're welcomed by every one who works there. Them being:

* Wang Yonghong, the CEO
* Carl Tesky, an engineer from the UK
* Joe Haitao, the Product Manager
* Lili Wu, the Vice President of Product
* David P Solomon, the Internation Product Manager
* Jie Zhang, Chief Staff Engineer/Your Boss

### Transcript

 Dear New Employee,
Thank you for joining Shenzhen Longteng Electronics Company Ltd.
We aim to become a world-leading company in the electronics industry and a respected brand with products in homes, offices, and public spaces across the world.
Longteng Electronics was founded on the following principles:
1. Diligence: This means both diligence in your work and diligence in your life. When you encounter a problem, do not give up. Even if you are not talented, by working at it every day, little by little, you can achieve the goal.
2. Connections: The process of creating electronics is the process of creating connections between different components. In the same way, we do business by making connections with other people. Therefore, it is important to always be making “connections” in your work.
3. Salubriousness: An unhealthy mind creates an inefficient design. An unhealthy body builds a defective product. Follow “correct eating,” “correct behavior,” and “correct thinking” in order to maximize your potential.
Please keep these principles in mind as you contribute to our efforts.
王永红
Wang Yonghong, CEO
深圳龙腾科技有限公司
Shenzhen Longteng Electronics Co. Ltd.

 Ah, fresh meat…
Just kidding. Welcome to southern China! It’s alright, I suppose… except for the heat, smog and lack of decent cheese here in Shenzhen. Still far better than any engineering gig I can find back home in the UK, though. I’m assuming you ended up here for similar reasons?
Carl

 Yooooooo. So I heard you’re our newest ace engineer who’s going to kick ass and take names, am I right? You’ve probably heard all about me already, but I’m the product guy who loves to find amazing opportunities and make deals happen! LET’S DO THIS!!
Joe Haitao
Product Manager

 Greetings and welcome to the team. As you’ve already been made aware, we are on a major international expansion effort and we are very eager to see you bring your skills and expertise to our company.
Lili Wu
Vice President of Product
Longteng Co. LTD

 你好! My name is David, or “戴维” in Chinese, and I was brought on to help Longteng with its international push. Though I’ve only recently moved here from San Francisco (where, I should point out, there is a very vibrant Chinatown), I am really loving it so far. It is truly fascinating to see a culture at once so ancient and so modern from up close!
I am sure we will be working closely together to create many successful products. 很高兴认识你!
David 戴维 P. Solomon
International Product Manager
Shenzhen Longteng Electronics Co., Ltd.

 Hello. My name is Jie Zhang. I am the chief staff engineer (your boss). I have not managed many foreign workers before, so please understand if I make a mistake here or there.
Anyhow, I will send your first job shortly.
Jie.
Shenzhen Days: The point of it all

◀ Back to conceptMAIL

 So I’ve talked about the scale of things here, the capacity in all of these factories and ports and markets, and I’ve asked: Where’s all this, you know, going? Not to get all existential on you, but it’s an important issue, and one that tends to crop up after big economic strides. In some sense, yay, we did it! After lot of hard work and sacrifices, we’ve secured a hugely important place in the world!
So now what?
Call me some kind of nutter but engines of creation like these, the ones we have here, just haven’t existed before at this scale. It’s only now dawning on us what could be done with them if we started coordinating them all. What if someone with some imagination were to start doing that? Putting the whole city to work on something together. What could you build that way?
Something gigantic and amazing. Or something gigantic and scary. Maybe a bit of both?
Let’s ponder on that one for a bit.
Yrs,  Tilly
Would you believe it?

◀ Back to conceptMAIL

 So last night I met a designer for a major international athletic wear company. She was in Shenzhen to tour some factories. We had a really good chat, and we went and got a couple drinks together, and well, you know how it goes. One thing led to another, and, to turn a long story short, soon enough we had…
A product idea!!!!!!!
Specifically: Automatic color-changing running shoes. Everyone loves brightly colored shoes, but matching them to outfits can be a pain. Shoes made from e-textiles could adjust to the rest of your outfit automatically! Their design team sent over some color data tables to get us started.

#### After Completion

 This is actually pretty cool, Joe. Maybe even more kinds of clothing could be next after shoes?

 Personally I’m thinking we could apply it to tracksuits next. It’d be sweet if I could have a different color for every day of the week!

#### Description

* **sensor** is a simple input connected to a color sensor.
* **ink-k** and **ink-n** are simple outputs connected to pieces of fabric coated with color-changing electrochemical dye.
* While the **button** is held, values from the color **sensor** should be read and bucketed according to the COLOUR CLASSIFICATION CHART.
* When the **button** is released, **ink-k** and **ink-n** should be set to the values corresponding to the color that most frequently occurred during the calibration period as indicated in the SMART DYE COLOR SPACE. (There will never be a tie).
* Prior to calibration, **ink-k** and **ink-n** should each be initialized to a value of 50, corresponding to a neutral color.
* Look in the “Supplemental Data” section of the manual to find the WAVELENGTH-BASED COLOUR CLASSIFICATION chart and the INK SMARTDYE COLOUR SPACE.
Please enjoy a game

◀ Back to conceptMAIL
In this email, Jie Zhang talks about and links to a game his daughter made: Solitaire. This email adds a button to your desktop in-game to play it.

### Transcript

#### Before completion

 My daughter is learning programming. She created a simple card game.
Would anyone like to try it and give some feedback for her? I put a link on everyone’s desktop.
She is interested to become a game developer.
Jie.

 Wow J, that is both a lot more polished and far harder than I was expecting!
Your daughter’s managed to design quite the challenging patience game.
Maybe there could be an undo function?

 She says she doesn’t think it needs undo, because it is actually quite easy once you develop some skill.

 She really takes after you.

#### After beating a game of Solitaire

 好棒！根本停不下来！您女儿简直天才！

NOTE: Translated it reads: "Awesome! Simply can not stop! Your daughter is simply genius!"

 老张，请告诉你的女儿她的游戏有些太好了，以至于我得把它从海涛的电脑上删掉，好让他好好工作。

NOTE: Translated it reads: "Zhang, please tell your daughter her game is so good that I have to delete it from Haitao's computer to make him work well."

 Aww…
Rubbish audio thing

◀ Back to conceptMAIL

 So a contract comes in to build a piece of audio kit. Sounds fun, right? I’ve always liked audio. This client promises that their little box will deliver “crisp highs and booming lows, all in perfect balance.”
Then I see their advert happens to include the much-vaunted algorithm that powers this thing. Ah.
Go on, take a look yourself.

 I should mention I put a copy of said advert on your desk. Just look in the pile of papers marked “Supplemental Data,” since that seemed most appropriate…

 I should \*also\* mention that we still have to do this, as sad as it is. Work’s work and all, even when you have to help a dodgy American company market rubbish like this as premium kit for audiophiles.

#### After Completion

 Holy crap, this thing is AWESOME! I hooked one of these babies up to my stereo at home and it blew the speakers clear OFF!!!! Does the job no question. Amazing!!

#### Description

* **audio-out** is a simple output connected to an audio receiver.
* **maximize** is a simple input connected to a switch.
* The signal from **audio-in** should be copied to **audio-out**, applying the HARMONIC MAXIMIZATION ALGORITHM when the **maximize** switch is on.
* Look in the “Supplemental Data” section of the manual to find an advertisement featuring the HARMONIC MAXIMIZATION ALGORITHM.
Virtual reality buzzer

◀ Back to conceptMAIL

Apologies for the personal side here, but I’ve met this wonderful girl named Xiaomei (小美) and, well, to make a long story short, she’s set to move in with me next month! There’s just one small issue, and it’s something I thought maybe we could create a product to help with. See, when I’m doing my VR sessions, it’s easy for someone to sneak up on me because I can’t see or hear them. Awkward, to say the least! This inspired me to think up a product: A simple vibrating buzzer that attaches to a VR headset so it can be felt even during the most intense sequences. Connecting that to a radio controller, I could place the button outside of my study and Xiaomei could buzz me when she needs me, with no chance of me being caught by surprise. What do you think? I’m sure plenty of other VR enthusiasts might find themselves in a similar predicament, and this is a solution inexpensive enough to be an impulse buy.

 Congrats David!!

 Note about the radio chip you will be using.
Normally, reading XBus causes the microcontroller to block until data becomes available.
However, this radio has a non-blocking XBus buffer. The non-blocking buffer will immediately return a value of -999 when no data is currently available.
Should make it easier.
Jie.

#### After Completion

 Wonderful. This is exactly as I had imagined it. 谢谢!

#### Description

* **buzzer** is a simple output connected to an electromechanical buzzer.
* When a data packet is received over the **radio**, read it and execute the corresponding command in the following table:

 1
Shenzhen Days: Things visitors say

◀ Back to conceptMAIL

 Today I want to talk about the goofy things visitors here tend to say. Actually, just one thing. It feels like, every time a certain kind of Western visitor comes to China and looks around, they go:
WAIT A SECOND, I thought China was COMMUNIST! So why is everyone SHOPPING at the STORE? What is UP with THAT?
And that’s when everyone around laughs, because, one, the dude always thinks he is making some good observation when we’ve heard that at least one trillion times before (trust me on this), and two, gosh. It’s complicated, okay?
What’s important is that so many of these guys’ impressions of COMMUNIST CHINA still come right out of the 1970s and they are so SURPRISED when they get here, like they had no idea that things were changing dramatically here this whole time! Well hey, you haven’t been sitting around doing nothing since Nixon and neither have we. And we’ve built more than just the factories where all your smartphones and game consoles come from.
The world is changing, fellas. Empty your mind, don’t cling to your fixed ideas. I believe in you. Okay? Okay.
Yrs,  Tilly
Handheld timer

◀ Back to conceptMAIL

 So this is going to be a funny thing to ask for with all our advanced technology here, but something we could really use is a dedicated handheld timer.
We’ve begun developing recipes for every conceivable kind of food in the cleanrooms, and one critical thing is to understand exactly how long certain reactions take. Unfortunately, earlier today I saw Derrick using his phone to do that, and... let’s just say I had to put a stop to that as quickly as possible. Phones are absolutely not sterile. They are the opposite of sterile.
Lisa Suemura, PhD, FRSB  Director, Ocean’s Bounty Program  Avalon City

 Haha, sorry about that. I never realized how dirty a phone could be, but now that I think about it... yeah.
Well, the timer is nothing fancy, just something all the technicians can use to keep track of how long things ought to take, wrapped in a hardened case we can throw in an autoclave.

#### After Completion

 Thanks, you’re a lifesaver. I never thought I would live it down, using my phone in a cleanroom like that...

 We all make mistakes, Derrick. Just remember it for next time and you won’t have to see Lisa become Angry Lisa ever again.

 I will definitely remember!

#### Description

* **display** is an XBus display output corresponding to a numeric LCD screen.
* The chronometer is initially "off", but can be "turned on" by pressing the **start-stop** button.
* The chronometer can then be started by pushing the **start-stop** button, at which point the **display** will begin incrementing by 1 for each 2 time units that elapse.
* The chronometer can then be stopped by pushing the **start-stop** button again.
* If the **reset** button is pushed when the chronometer is "on" but not running it will either reset to 0 (if the current count is greater than 0) or turn "off" (if the current count is 0).
* If the **reset** button is pushed when the chronometer is running it has no effect.
Album Promo - "Achievement" - March 29 2016

***Album Promo - "Achievement" - March 29 2016*** was a promo for Pilotredsun's first album, 'Achievement', that was posted to Youtube on 22nd March 2016. The video contains the tracks "deathly" and "bodybuilder" from the album "Achievement", as well as artwork of an alternate view of the album cover of "Achievement". The video is currently unlisted but can still be watched.

## Gallery

Album Promo - "Achievement" - March 29 2016
Feel the Connection and Get Ahead!

◀ Back to conceptMAIL

Scientists have shown that a lack of real-life ties to others can lead to depression, which in turn can negatively affect performance at work. Don’t let the lack of human interaction reduce your effectiveness! Virtual friends from BuddyBots™ are quality friends nearly indistinguishable from real-life people.
Our characters are developed by the world’s top personality designers and are completely customizable, so whether you want a supportive presence to help you through a difficult time, or a flirtatious sidekick to banter with throughout the day, you’re covered! Subscriptions are flexible and competitively priced with other bot companion services.
Stop being lonely, feel the connection, and become a top contributor to your company’s success!
Tag, you're it

◀ Back to conceptMAIL

I have a friend-- more like an acquaintance, really-- from a while back, many jobs ago. He’s always been a bit of a nutter and I guess what happened was he made a decent bit of cash with an app or something and decided to retire from the programmer’s life and build laser tag arenas for the rest of his days.
That’s not the worst of it. He’s calling his franchise-to-be the AWESOMEPLEX (capitals his).
In any case, he wanted to see if we could make some scorekeeping wearables for it and I said yes. I’m not entirely sure why. I suppose in the unlikely event his arenas do take off, it’ll look brilliant in hindsight.

 AWESOMEPLEX!!!
When it’s done we should try a match in the office! Laser tag looks like so much fun.

 A lot of simple inputs, either on or off. Too many for a microcontroller on its own but a good use for the DX300.
Jie.

#### After Completion

 Joe, it would be great if you focused on business instead of constantly suggesting distractions.
Also, I would destroy you.

 Just got word from my friend. He’s purchased the building for his first… I can’t bring myself to write it out. His first location. Not sure I want to imagine how much of his retirement he’s put into it.
It’s always nice to have a dream, but sometimes there’s a reason you shouldn’t pursue it, you know?

 AWESOMEPLEX!!!

#### Description

* **respawn** is a simple input connected to a quick-connect jack on a vest.
* **alive** is a simple output connected to an array of LED lights on a vest.
* **trigger** and **reload** are simple inputs connected to switches in a replica gun.
* **fire** is a simple output connected to a laser and effects module in a replica gun.
* When a player is **hit**, their vest should be set to not **alive**.
* When a player is **respawned**, their vest should be set to **alive**.
* When a player **reloads** their gun, whether **alive** or not, their ammo count should be set to the ammo reload value.
* When a player is **alive**, pulls the **trigger**, and has ammo remaining, the gun should **fire** and the ammo count should be decremented by 1.
* To allow for "realistic operation" of various replica guns, the ammo reload value is set by the operator using a dial that can be read as an XBus input.
Getting Started

◀ Back to conceptMAIL

I am pleased to welcome you to the Independent Principality of Avalon City. Now that you are situated here, you are doubtless wondering how to begin contributing to our efforts.
It may take you some getting used to, but employee-citizens of Avalon City are expected to organize themselves into project-based teams as needs arise. There are no pointless hierarchies or org charts here; achieving the goals of our high-level development plans is the only thing that matters.
A key goal as we finish initial construction is to achieve complete self-sufficiency. The less we depend on imports, the less leverage other nations have with us, which will reduce the friction involved in gaining full diplomatic recognition. Research and development is already underway in key disciplines to support this objective, including marine science and biology, electronics and software, and manufacturing and construction.
The people involved in these efforts will begin reaching out to you soon.
Sun Haotian  President, Avalon City
MC4010

The MC4010 math co-processor expands the limited MCxxxx family’s programming language by adding more complex mathematical operations.

## In game description

Write a **command sequence** to any pin to instruct the MC4010 to perform a calculation. A **command sequence** (see table, right) consists of an **operation code** followed by one or two values. Once a complete **command sequence** is written to the MC4010, the `result` register is updated with the result of the specified calculation.

Reading from any pin retrieves the value stored in the `result` register. `result` can be read any number of times.

In the following example, the **command sequence** `50 20 4` is sent to the MC4010 to perform the calculation `20 / 4 = __`. The result, `5`, is stored in the `result` register and read back into the accumulator.

```
# write second value
mov x0 acc # read back result (5)

```

### Pin Configuration

 `result` | Holds the result of the last executed command. The value is limited to the range -999 to 999.

### Pricing

This part is for prototyping ONLY!

– Carl
Device 2A27

◀ Back to conceptMAIL

 Poseidon-779, a Decentralized Autonomous Corporation, has determined that thorium mining operations can be optimized by as much as 2.7% by creating a device with certain specifications. The specifications are included in this communique.
Please create 50 of these devices and ship to 101 Xibajiahu Road, Shayibak, Urumqi, Xinjiang, China, 830054. Payment will be forwarded upon verification of completed work.

 WHat is this????

 A Decentralized Autonomous Corporation is a company run without human involvement. It has money and investors, but it makes decisions for itself on what to do with that money using information from multiple lower-level monitoring and analysis programs.
Some of my classmates were studying them when I was at Princeton, but lately the hype died down somewhat. I guess there are some still operating now, maybe even doing well. Why don’t we do the job for it and see what happens?
Lili Wu

 I made a copy of the specifications it sent. It is on your desk.
Jie.

#### After Completion

 Task verified complete. Payment en route.

 What a future we live in, eh?

 That was COOL!!!!!!

#### Description

* **power** is a simple output connected to an unknown device, presumably some type of motor or high-power switch.
* Map the (**x**, **y**) coordinate to the corresponding **power** value as specified in Poseidon-779’s GEOMETRIC SPECIFICATIONS, which can be found in the “Supplemental Data” section of the manual.
Infrared sensor - IMPORTANT

◀ Back to conceptMAIL

I am in the process of setting up closer tie-ups with top global firms and am working to secure higher-profile work for our company. The first result of these efforts is a contract to create an infrared sensor. This allows us to participate in the booming market for passive monitoring stations to detect illegal activities. Illegal carbon emissions, illegal growing operations, illegal immigration… if it’s against the law and it generates heat, we’ll detect it.
Lili Wu

#### After Completion

 Just letting you know that your design for the infrared sensor component was well-received by our partners and is set to be integrated into a number of products currently under development by various defense and security firms. Obviously, our performance here opens the door to more jobs of this nature, so thank you for contributing to Longteng’s future.
Lili Wu

 Hang on. We’re becoming a defense supplier?

### Description

* **sensor** is a simple input connected to an infrared sensor.
* **alarm** is a simple output connected to a silent alarm.
* When the current **time** equals the on time, the device should be *armed*.
* When the current **time** equals the off time, the device should be *disarmed*.
* Whenever the device is *armed* and the **sensor** reads at or above a value of 20, the **alarm** output should be active.
* The on and off times are set by the operator using dials that can be read as XBus inputs and use numerical values compatible with the DT2415.
Working remotely

◀ Back to conceptMAIL

 Note that I will be working remotely today, and maybe tomorrow. Just in case you are looking for me in the office.

 That’s weird, I thought you got back from your trip yesterday. Haha!

 I did. I’ve been stuck in a traffic jam on the way back from the airport since then.

 You’ve been in the same traffic jam for o v e r t w e n t y - f o u r h o u r s …………?

 When a city grows as fast as Shenzhen has, it’s natural to expect there might be some strain.
I’m fine. I have food and water in here.

 Maybe next time a virtual meeting is better.
Jie.
ConceptMAIL

The **conceptMAIL** is how you receive assignments and other random information in the game.

1. WELCOME (*story*)
2. IMPORTANT: READ THE MANUAL! (*story*)
3. SECURITY CAMERA (FAKE) (*assignment*)
4. SHENZHEN DAYS: WHY ARE WE EVEN HERE? (*story*)
5. REPLACEMENT FACTORY MODULE (*assignment*)
6. PLEASE ENJOY A GAME (*game*)
7. ALL THE PARTS! (*story*)
8. PULSE GENERATOR (*assignment*)
9. TAKE AN ORBITAL SELFIE! TRIPS START AT JUST R89,999 (*story*)
10. LIGHT-UP SIGNS (*assignment*)
11. BRING OUT THE BARON!! (*assignment*)
12. SHENZHEN DAYS: SAYING STUFF BETTER (*story*)
13. RUBBISH AUDIO THING (*assignment*)
14. SELF-DRIVING CAR STUCK IN A LOOP? (*story*)
15. INFRARED SENSOR - IMPORTANT (*assignment*)
16. WORKING REMOTELY (*story*)
17. VIRTUAL REALITY BUZZER (*assignment*)
18. PROTOTYPING NEW IDEAS (*assignment*)
19. SHENZHEN DAYS: THINGS VISITORS SAY (*story*)
20. LITTLE HELP? (*assignment*)
21. FEEL THE CONNECTION AND GET AHEAD! (*story*)
22. TAG, YOU'RE IT (*assignment*)
23. COOL DAD!!!!!!!!!!!!! (*assignment*)
24. DEVICE 2A27 (*assignment*)
25. UNDOCUMENTED INSTRUCTION! (*story*)
26. THREE KINGDOMS TOKENS (*assignment*)
27. SHENZHEN DAYS: SAY CHEESE! (*story*)
28. SANDWICH ASSEMBLER?? (*assignment*)
29. CARBINE TARGET ILLUMINATOR (*assignment*)
30. CAN YOU KEEP A SECRET?? HAUNTED DOLL PROJECT (*assignment*)
31. CUSTOM SPECIFICATIONS (*assignment*)
32. GROWING THE COMPANY - PLEASE READ (*story*)
33. AQUAPONICS MAINTENANCE ROBOT (*assignment*)
34. INCREDIBLE OPPORTUNITY: LAND RICH IN RARE EARTHS (*story*)
35. REMOTE KILL SWITCH (*assignment*)
36. CONTROL ROUTER - IMPORTANT (*assignment*)
37. POCKET I CHING ORACLE (*assignment*)
38. SHENZHEN DAYS: THE ELECTRONICS WET MARKET IS AS SEXY AS IT SOUNDS (*story*)
39. PRECISION FOOD SCALE (*assignment*)
40. WHAT IS THIS? (*story*)
41. CRYPTOCURRENCY DEPOSIT TERMINAL (*assignment*)
42. OVER 55% OF HOMES ARE INFECTED - IS YOURS? (*story*)
43. POLLUTION SENSING WINDOW (*assignment*)
44. TRAFFIC SIGNAL (*assignment*)
45. MEAT-BASED PRINTER (*assignment*)
46. CLEANSE YOUR BODY OF HARMFUL NANOPARTICLES (*story*)
47. SECURITY NIGHTMARE (*assignment*)
48. SHENZHEN DAYS: THE POINT OF IT ALL (*story*)
49. OCEAN MONITORING SYSTEM (*assignment*)
50. SPOILER-BLOCKING HEADPHONES (*assignment*)
51. COOL DAD IS BACK! (*story*)
52. WOULD YOU BELIEVE IT? (*assignment*)
53. HEY SEXY.. (*story*)
54. AIRLINE COCKTAIL MIXER (*assignment*)
55. IMPORTANT - THE BIG ONE! (*assignment*)
56. AN INVITATION (*story*)
57. GETTING STARTED (*story*)
58. THE OCEAN’S BOUNTY (*assignment*)
59. RECOMMENDATION: BEYOND THE CLOCKWORK (*story*)
60. HANDHELD TIMER (*assignment*)
61. A MESSAGE FROM SLEEPCUBES (*story*)
62. CAT FEEDER (*assignment*)
63. TARGET PRACTICE (*assignment*)
64. AVALON CITY EVENTS CALENDAR (*story*)
65. RECOMMENDATION: AGAINST PREDICTION (*story*)
66. HARVEST TIME! (*assignment*)
Cat feeder

◀ Back to conceptMAIL

It’s strange, but I brought my cats with me here. I don’t know why I thought I would have time to take care of them! Of course, they are so cute.
They need to be fed different foods and not overfed. Valence eats fish and Isotope likes duck.
Should be easy for someone with your abilities :)

#### After Completion

 Valence and Isotope say thank you :)
Maybe soon I will have something more serious for you...

#### Description

* **food-a** and **food-b** are simple outputs connected to pet food dispensers.
* The automatic pet feeder can be configured for use by up to three pets with collar-mounted RFID **tags** that store a value of either 1, 2, or 3. For each pet, the user can specify the minimum number of time units between feedings (TIME), the amount of **food** to dispense (SIZE), and which type of **food** to dispense (TYPE).
* Configuration settings are set by the user using a combination of dials that can be read as XBus inputs and switches that can be read as simple inputs.
Sandwich assembler??

◀ Back to conceptMAIL

 Yo dogs. I was out drinking last night and realized: You know what Americans love? SANDWICHES. Am I right. Americans can’t get enough sandwiches. I sketched out a quick design for a patriotic sandwich machine where you put in white bread, baloney, mustard. It could play a song when it finishes. Haha!
More details to come later when I’m less hung over, maybe. Ugh…

 I have a keypad that will work for this, but it uses normal XBus which will block until a key is pressed.
You will figure it out.
Jie.

#### After Completion

 I’m sorry. I really am trying my best to come up with good ideas, but obviously as you’ve pointed out I have more work to do in that area. Please give me another chance. I swear I’m going to redouble my efforts and work extra hard to create a successful product for you. I promise.
Joe

 Please disregard the previous message… hit the wrong button. Haha!

#### Description

* **bread**, **meat**, **cheese**, and **mustard** are simple outputs connected to mechanisms that dispense those ingredients.
* **flag** is a simple output connected to a motor that raises and lowers a small American flag when a sandwich is complete.
* When a value is available from the **keypad**, read it and dispense a sandwich using the information in the following table and the verification tab:
Control router - IMPORTANT

◀ Back to conceptMAIL

 I’m pleased to say we have been selected for another Sun Haotian project, a simple data router for smart grids.
Mr. Sun was never interested in civic infrastructure before to my knowledge, so I really wonder what he’s planning. I may ask around. My uncle’s had dinner with him once or twice.
Lili Wu

 We can do it.
Note: These XBus inputs are blocking, so we will need to connect all inputs so they can be read at once (simultaneously).
Jie.

#### After Completion

 This is just the tip of the iceberg. Mr. Sun is apparently pulling in a lot of resources and groups to create various subsystems for something. Nobody knows what it is other than that it’s going to be very big and potentially very lucrative for the firms involved. We’re on a path to further our good relationship with his group and eventually become trusted partners, so let’s continue to do our best work here.
Lili Wu

#### Description

* **lower-in** and **lower-out** are XBus inputs and outputs that connect this node to a node with a lower ID number.
* **higher-in** and **higher-out** are XBus inputs and outputs that connect this node to a node with a higher ID number.
* The first value in a data packet is the ID number of the destination, and indicates how the packet should be handled:

 ID = meter ID
 ID > meter ID

* The local ID number of the node is stored in a secure identity chip that can be read as an XBus input.
* The second value in a data packet is the length of the rest of the data packet.
MC4000

The MC4000 High Performance Controller is the cheapest microcontroller available in the game, costing only ¥3. It has a general-purpose register "acc" and can hold up to nine lines of code. The input/output capabilities are limited to two XBus pins and two simple I/O pins.

## Usage

The MC4000 can be programmed in the MCxxxx family common programming language consuming one unit of power per simple instruction. As the cheapest microcontroller and capable of holding only nine lines of code, it is commonly used in price and line count optimized solutions.

## In game description

A reduced-functionality microcontroller to help lower BOM costs, the MC4000 is a flexible and versatile alternative to its larger cousin, the MC6000. Don’t let its diminutive size fool you, however: The MC4000 can easily hold its own with its generous nine lines of program memory, one general-purpose register, and four I/O pins. We are confident the MC4000 will find its way into your designs and into your heart! Contact us to request samples.
Recommendation: Against Prediction

◀ Back to conceptMAIL

 When we talk about the future, are we speculating or are we predicting? The distinction isn’t always so clear. Statistical methods appear to introduce some precision into this imprecise art, but often fail to question fundamental assumptions that later prove to be untrue.
Despite the sensationalist title, AGAINST PREDICTION by Richard Kendall-Fay is an important argument in this vein. We should not be trying to predict the future-- we should be inventing it.
With many revolutionary technologies developed here in Avalon City already, not to mention even more radically world-altering projects in the works, we are the clearest demonstration yet that a statistical approach to prediction is simply unworkable. The future is not a continuation of any trend line. It cannot be found inside any normal distribution. The future is an outlier.
Sun Haotian  President, Avalon City
DX300

The DX300 Digital I/O Expander is a multifunctional and versatile part. It converts up to three simple inputs to XBus outputs or one XBus input to up to three simple outputs, so it can be used as a signal multiplexer/demultiplexer. This part consumes no power and costs ¥1.

## Usage

The DX300 has three simple I/O pins in one side and three XBus pins in the other. Each side can be in either input mode or output mode and the part's behavior depends on the requests to each pin. It also has three internal flip-flops that can be set and read by both sides.

The names of the internal flip-flops are not documented, so they will be called *p0'*, *p1'* and *p2'* as each one is directly linked to one simple I/O pin with similar name. The XBus pins' names are also not documented and will called *x0*, *x1*, and *x2*.

### Writing to the simple I/O side

Each simple I/O pin is directly linked to one flip-flop and can be used to set it. The signals are treated as digital, meaning values up to *50* will set a flip-flop to *0* and values above *50* will set a flip-flop to *1*. Unconnected pins default to 0.

Example table for simple inputs
 0
 99
 50

### Reading from the simple I/O side

Each simple I/O pin will output its corresponding flip-flop value as a *0* or a *100*.

Example table for simple outputs
 0
 0
 1

### Writing to the XBus side

When a XBus signal writes to the DX300, each digit of the number will set a flip-flop: the ones will set *p0*, the tens will set *p1* and the hundreds will set *p2*. Non-zero digits set a flip-flop to *1* and zeros set a flip-flop to *0* and the sign is ignored, that is, the values -103 and 103 are treated as the same.

Example table for XBus inputs
 30
 42
 -907

### Reading from the XBus side

When a read request is send to the XBus side, the DX300 will output a number in the form *100\*p2 + 10\*p1 + p0* and **clear all flip flops to zero**.

 0
 1
 0

### Conflict resolution

Altough the DX300 has three XBus pins, only one can be used at a time. If two or more parts request to read from or write to a DX300's XBus pin at the same time they will be acessed with the priority *x2 > x1 > x0*.

## In game description

Control the world with the DX300 digital I/O expander! This unique and useful part can read or write up to three on/off signals at once over simple I/O or XBus. It is sure to find its ideal application in answering many of your control and signal processing needs. Contact us to request samples.
Can you keep a secret?? Haunted doll project

◀ Back to conceptMAIL

 Hey, so… I was doing some research on the internet, it seems that if a doll is a HAUNTED doll, it brings WAY more interest. Haunted dolls that get caught on a life-stream are almost guaranteed to go viral. So what if we took some of the dolls from a factory around here and put some parts in them to “haunt” them, then distributed them along with the normal dolls to toy stores? OH MY GOD HAUNTED DOLL!!
We just have to keep it a secret, so it doesn’t leak that we’re manufacturing them here…

 Joe. Are you serious right now.
Lili Wu

 This is brilliant. I love this.
I found some appropriate sound effects online, I think “Sinister Giggle” and “Blood-Curdling Cry” are the best of that bunch…
Now we just need a random number generator.
Preferably a haunted random number generator.

 We have some unmarked chips from a long time ago in storage, the original purpose or maker is unknown. Seems interesting. I put some in the prototyping bin also.
Perhaps this part was created by a “ghost shift”.
That is just some joke (humor).
Jie.

 Perfect, J.
Let’s go terrify some life-streamers!

#### After Completion

 HAHA IT WORKED… kind of. Someone posted their haunted doll being haunted and it was starting to gain some attention, but very soon afterwards they opened up the doll and found the mechanism, so the mystery was solved pretty quickly.
But they still don’t know where it came from. And I believe that GHOST ELECTRONICS have a potentially very bright future in the marketplace. We could even build them during ghost shifts at our assembly lines! I will continue to research the possibilities!!!

 Stop right now. I forbid you from doing anything further relating to ghost electronics.
Lili Wu

 OK

#### Description

* **speaker** is a simple output connected to a miniature, self-amplified audio speaker.
* When a value of 1 is randomly generated, play the SINISTER GIGGLE sound effect.
* When a value of 2 is randomly generated, play the BLOOD-CURDLING CRY sound effect.
* Look in the “Supplemental Data” section of the manual for the audio data that Carl found for these sound effects.
Little help?

◀ Back to conceptMAIL

 I’m wrapping up a project to make a game console and could use some assistance. Before you get too excited, it sounds \*far\* more fun than it actually is… the “console” is just a tiny super-cheap box we’re making for SleepCUBES, the big Japanese capsule hotel chain, to stick in every pod. The games’ll just be some free dross they find, I’m sure.
At any rate, I’ve got it mostly done, I just need a module for the little wireless controller that comes with it. I ping you, you tell me what’s going on. Nothing much more than that.

#### After Completion

 Thanks mate, I owe you one. You’ve just helped make thousands of dead-tired salarymen marginally happier. That is, if they actually find the console and use it to play a game before passing out…

#### Description

* **a** and **b** are simple inputs connected to buttons.
* **radio-rx** is a non-blocking XBus input connected to a radio receiver.
* **radio-tx** is an XBus output connected to a radio transmitter.
* When a data packet is received over the radio from the game console, respond with the following 3-value data packet, making sure to use the most recent input values:
MC4000X

The MC4000X High Performance Controller is a XBus-only variant of MC4000. In this version, two simple I/O pins are traded for two XBus pins, but all the other caracteristics are the same. It has a general-purpose register "acc" and can hold up to nine lines of code. The cost is also ¥3.

## Usage

The MC4000 can be programmed in the MCxxxx family common programming language consuming one unit of power per simple instruction. As the cheapest microcontroller and capable of holding only nine lines of code, it is commonly enployed in price and line count optimized solutions.

The absence of simple I/O pins can limit the uses of the MC4000x, but it can offer simpler and cheaper solutions for designs that enploy a lot of XBus signals.
Traffic signal

◀ Back to conceptMAIL

 Once again we are set to contribute to a piece of a larger system for a company controlled by Sun Haotian. This one is a traffic signal for a six-way intersection, with support for emergency transponders that override the normal traffic pattern.

I don’t know any more than this.
Lili Wu

#### After Completion

 No yellow signal. Does that mean they’re expecting robo-cars only? I wonder where they’d use this?

 We shouldn’t speculate. It’s our job to provide well-engineered solutions, not play detective with a client’s overall plans.

#### Description

* **light-0**, **light-1**, and **light-2** are simple outputs connected to go/no-go traffic signals for three different directions at a hexagonal intersection.
* Control of the **lights** should be sequenced as indicated in the verification tab, turning off all lights when an **emergency** vehicle is detected and restarting the sequence when it leaves transponder range.
* The durations of the phases are set by the operator using dials that can be read as XBus inputs.
The Ocean’s Bounty

◀ Back to conceptMAIL

 Hiya! It was great to meet you at New Citizen Orientation. As I was explaining, the Ocean’s Bounty program is an initiative to meet all of Avalon City’s sustenance needs using nothing but the sea around us-- and we could really use your help!
It turns out that feeding a city is as much about logistics as much as it is biology (sorry, Lisa)! We have literal tons of ingredients and other materials to move back and forth between the cold storage area and the labs, so I’ve been planning out a robot that can handle that sort of thing. I’ve got the mechanical aspects down, but the control system is where you would come in. Once it’s finished, there are probably applications all over the city, so this is a project with pretty big impact!
Great to have you on board!
Derrick

 Welcome to the team! I have to run, but it sounds like you’ve begun coordinating with Derrick already. Thanks for your help.
Lisa Suemura, PhD, FRSB  Director, Ocean’s Bounty Program  Avalon City

#### After Completion

 Ah, this is great! So satisfying to finally have the components we need for our food development projects ready when we need them… and without having to go in the freezer all the time. You’re the best!
Derrick

 Indeed, this is just what we needed to make forward progress. I think we’re getting close on the synthesized grains, too. My dream of creating a full seven-course French dinner made from nothing but materials derived from kelp is within sight!
Lisa

 That’s gonna be interesting, all right!

#### Description

* **motor** is a simple output connected to a bidirectional motor.
* **extend** and **grab** are simple outputs connected to a robotic arm.
* When a data packet that begins with the value 1 is received over the **radio**, pick up the container on the loading pad and move it to the first available storage bay. Then return the robotic arm to the loading pad. The second value in the data packet is the container's ID number, and will be used to retrieve it.
* When a data packet that begins with the value 2 is received over the **radio**, retrieve the container with the same ID number as the second value in the data packet and move the container to the loading pad.
* Consult the verification tab for information about **motor**, **extend**, and **grab** timing.
Important: Read the manual!

◀ Back to conceptMAIL
In this email, Carl Tesky recommends to you to read the manual provided with the game.

### Transcript

 I know… you’re so good at engineering, systems, and life in general you haven’t needed a manual in ages. Right?
Well, trust me on this one: You really, really, really, really really want to read the manual here.
Even better if you keep it handy as you work.
Don’t be like the non-manual-using person who quit just before you started and whose name shall never be uttered again...
Carl
IMPORTANT - the big one!

◀ Back to conceptMAIL

 Here we go… the job I thought we’d get finally came in, and it came specifically for us from Sun Haotian himself. He’s calling it the SafetyNet Tracking Badge. Looking at the specs, it seems to have multiple functions including reporting the location of the wearer around multiple sectors (there is a map included, which I’ve put on your desk) and providing one-way communication.
I don’t think I can overstate how important this work is. Not only are my contacts hinting they’ll want hundreds of thousands of these, they want them very fast. Evidently they’re about to take the wraps off their big project very soon.
Please treat this as the culmination of all of our work so far—everything we have been working towards as a company. Now is the time to execute.

#### After Completion

 Thank you. As you know, it has long been my dream to see our company compete at the very top level of electronics engineering firms. With this contract delivered, we are finally there. I’m excited to see what Sun Haotian has been working on, and even more excited about continuing to supply top-quality electronics and engineering services for world-leading applications.
We cannot relax or become complacent now, but we can at least celebrate this achievement. Come by the break room today for a free cream puff. You’ve earned it.
Lili

 Yes! I am SO proud to work here. Fantastic work, everyone!
The future is bright…
Joe

#### Description

* **radar-ping** is a simple input indicating the current distance from the central tracking radar if it is currently pointing in the user’s direction.
* **radio-rx** is a non-blocking XBus input connected to a radio receiver.
* **radio-tx** is an XBus output connected to a radio transmitter.
* **speaker** is a simple output connected to a miniature, self-amplified audio speaker.
* When a data packet is received and begins with a value of 1, the subsequent data should be treated as length-prefixed audio data and played over the **speaker**.
* When a data packet is received that begins with a value of 2 and specifies the ID of the badge, the badge should respond with its current sector.
* The user’s location can be determined when a **radar-ping** pulse is detected by correlating the current heading and distance from the central tracking radar with the SECTOR MAP, which can be found as “Figure 7G” in the “Supplemental Data” section of the manual.
Recommendation: Beyond the Clockwork

◀ Back to conceptMAIL

 Noted futurist Amber Posner’s latest book BEYOND THE CLOCKWORK is an important deep dive into the future of the human race. Specifically: What will humanity look like once we have essentially solved for our bodies? For almost all of recorded history we have been overwhelmingly motivated by the most basic of impulses. But that era is coming to a close now, and Avalon City is at the forefront of that transformation.
I won’t spoil Amber’s conclusions for you, but I will say this book has contributed materially to my thinking about where we go from here.
Sun Haotian  President, Avalon City
Cleanse your body of harmful nanoparticles

◀ Back to conceptMAIL

 Remove stray carbon nanotubes and other kinds of nanotoxins from the body the natural way with Herbal Nanoparticle Cleanse, only from Healthlutions! Stray carbon nanotubes have been entering our atmosphere at an alarming rate and can remain in the body for decades.
Our 100% natural herbal remedy is made from genuine California Veldt Grass, which has been shown to counteract the potential harmful effects of nanoparticles in the body and flush them out by enhancing the body’s natural immune system.
Order today and also get a FREE 8oz bottle of WiFi Wash, a specially formulated all-natural body wash that removes WiFi build-up on the surface of the skin!
Herbal Nanoparticle Cleanse + FREE Wifi Wash (a US$30 value)
Security nightmare

◀ Back to conceptMAIL

 Remember SleepCUBES, the capsule hotel company we did the little game console for? They’re back, this time asking for a lock that’s based off the national ID card. Loads of privacy concerns here, not to mention the fact that a trivially cloneable master key opens any lock (!!!), but, a job’s a job as they say.
At least I think that’s what they say.
Carl

 I’ve stayed at SleepCUBE a few times. They’re not too shabby!

 Get thrown out of a club or something?

 I was researching our customer! Actually using the product or service is a great way to familiarize yourself with a company... it’s a natural part of any healthy corporate partnership!

 Heh. You’ve really changed, Joe.

#### After Completion

 This is the least secure security solution I’ve ever seen. And I’ve worked on voting machines!
If you ever stay in a SleepCUBES, bring your own lock.

#### Description

* **learn** is a simple input connected to a button inside the room.
* **unlock** is a simple output connected to an electric strike plate.
* The door is first **unlocked** by the hotel staff using a special **card** (9999999999).
* The user can then reprogram their lock by holding the **learn** button and scanning their **card**.
* When the user scans their **card** again after reprogramming, the door should be **unlocked**.
* Any **card** other than the user's **card** or the hotel staff **card** should not **unlock** the door.
* To **unlock** the door, the **unlock** signal should be held high for 6 time units.
Pulse generator

◀ Back to conceptMAIL
In this email you are tasked with making a pulse generator.

 In order to test some of our new manufacturing equipment, we need a pulse generator with certain requirements (specifications). However, instead of buying one at the market price, I thought we could simply create our own.
Jie.

 For this project you will need to make use of \*conditional execution\*. Please continue your study of the language reference.
Jie.

#### After Completion

 Yes, looks OK. Suitable for our purpose.
Jie.

### Puzzle

In this assignment, you are tasked to create a pulse when you receive an input from *button*

#### Description

* **button** is a simple input connected to a button.
* **pulse** is a simple output connected to an electronic device.
* When the **button** is pushed, generate **pulses** as indicated in the verification tab until the **button** is released.
Growing the company - PLEASE READ

◀ Back to conceptMAIL

Over the last two weeks I have conducted a thorough review of the company's product lines. We are showing some signs of improvement over last year, but we are still creating multiple products with no point, no goal, and no larger plan.
I want everyone to think about how to focus on products that have the potential to truly change the world. Where are the devices that we feel proud of as a company? How can we earn respect? What future are we building toward?
We must face these questions head-on and with all of our efforts in order to have a chance of becoming one of the world’s top electronics firms. My uncle named the company Longteng, “rising dragon,” for a reason.
Lili Wu  Vice President of Product  Longteng Co. LTD