"Entertainment" high-end mini-game Manufactoria

Source: Internet
Author: User

Manufactoria is a game. In the game, a factory that produces robots has a
Some problems, the robot produced a lot of unqualified. A robot can use a red and
Blue color string to describe, only the color string in accordance with a certain rule of the robot is qualified. Color strings can be
Thought empty. You have to use the existing components to design a system in a plant to identify whether the robot is qualified

The download links on the internet are all very spooky animals.

This is my cloud disk share download Link: Http://pan.baidu.com/s/1jHKOPQu

Open with browser is recommended

Game scene

The above circle is the input node, the bottom line is the output

1. Compare nodes

Deletes the string head element and makes the operation of that color direction, and if the string is empty, the operation is pointed to by Gray

2. Transport node

Move the string in one Direction

3. Staining node

Add a specific color to the end of the string

This is the base node: I don't know if there's anything else.

Start playing spicy Qaq

Level 1

Requirements: Move input string to output node

Move directly

Level 2

Requirements: Only accept strings that start with blue

Add a comparison node

Level 3

Requirements: Accept 3 Blue Strings

We divide this automaton into three layers, one layer removes a blue and all red, does not meet on launch, otherwise accepts

Interestingly, a single-layer implementation of a looping structure

Level4

Requirements: Accept no red strings only

Exit when you encounter red.

Level 5

The accepted color is a staggered string

Check first, then split into two to see if it's staggered.

Level 6

Accept a string with two blue endings

Procedure is similar to: Exclude red Check if there are two consecutive blue---is empty, otherwise recheck red

Level 8, Level 9, Level 10

These three levels are the basic use of staining nodes.

Level 7

Accept the same string as the tail

Not yet playing customs. In construction

"Entertainment" high-end mini-game Manufactoria

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.