[Mac Games] Shenzhen IO 1.0
Author: MrAntiFun
Game version: 1.0
Number of functions: 2
Creation date: 18.11.2016
In this article you can download SHENZHEN I/O cheats. This trainer +2 has been created by MrAntiFun for game version 1.0. All cheats on our site you can download without registration, so this hack available for download free. With this trainer you will get the advantage in your game. But first, a bit of information about the game.
SHENZHEN I/O is a very interesting game where you can build circuits using a variety of components from different manufacturers. This game will be interesting to those players who are interested in programming.
Get to know the colorful cast of characters at your new employer, 深圳龙腾科技有限公司 (Shenzhen Longteng Electronics Co., Ltd.), located in the electronics capital of the world. Get creative! Design and test your own games and devices in the sandbox. Engineering is hard! Take a break and play a brand-new twist on solitaire.
Functions:
- F1: Active Trainer
- F2: Instant Level Completion
Every hotel in Japan wants it only gaming console. And guess who is to make the wireless game controller for that! We are of course. The challenge here is to listen to the radio, and if there is a signal that we should send a reading back on the radio. We should read the two analogue joysticks (x and y) and send each value back as well as a value for the combination of a & b input 1 if a is active, 2 if b is active and 3 if both are active.
So all in all we need to send the following package on an xbus
x | y | 0 if a=0 and b=0 1 if a=100 and b=0 2 if a=0 and b=100 3 if a=100 and b=100 |
The verification signals look like
Structure of the wireless game controller solution
If we look at it straight up we need 4 simple inputs and 2 xbus inputs. Which means that we need multiple micro processors. However, I do think that it could be possible to combine a & b with a dx300 and thereby convert two simple inputs to 1 xbus input. That trick would put us within the range of using an MC6000 microcontroller and thereby make a cheaper solution than mulitple microcontrollers.
I therefore think we can wire the solution up as here
Coding a solution
The flow of the code should be something along the lines
- Did we receieve a signal to send a reading
- If not sleep and goto 1 – otherwise continue
- Send the x1, y1 and the combination of a and b to the output
- sleep
The pseudo code was simple enough to write and arrive at. But there are a few things that needs to be worked out. Let us start by tackling the a&b combination. When we read the x2 port we have the following possible readings
0 if a=0 and b=0
1 if a=100 and b=0
10 if a=0 and b=100
11 if a=100 and b=100
The first two options are good! The second two should be lower. However, as we can see if b is 100 we should add 2 to the output, we add 10. so if we read the solution and subtract 8 in the latter two solutions we would have something that worked.
With that part solved I believe we can code the full solution up
First we check if the wireless game controller needs to send a reading. Otherwise we will sleep and try again. If we need a reading we start by sorting out the a&b combination and then send all of it through the radio.
Mac Games Shenzhen Io 1.0 Online
The final solution looks like
Mac Games Shenzhen Io 1.0 Full
and ends up with the following stats
Cost: 6
Energy: 244
Lines of code: 9
And that is my conclusion to this problem. I can see that some manage to solve it using less power or fewer lines of code. I am not sure you can optimize this solution to have both. If you want to see all my solutions to Shenzhen I/O problems take a look at the solutions page.