JayisGames.com is now available ad-free!
Jay is Games recommends Cheat Happens with 8,000+ games and 35,000+ trainers!

Cargo-Bot


  • Currently 4/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 4/5 (32 votes)
Comments (6) | Views (29,109)

Cargo-Bot

SonicLoverBeing a robot isn't always fun. Whereas other robots get to chase after pets and use grappling hooks to navigate flashy environments, Cargo-Bot is stuck picking up and putting down colored crates in a nondescript warehouse. Ah, well. Such is the life of a robot.

Cargo-BotAs a neat little puzzle game by Two Lives Left, Cargo-Bot's premise is simple: program a robotic crane to rearrange crates so they match the layout at the top of the screen. The method by which you do so is similar to our old favorite Light-Bot 2.0: drag and drop instructions on and off the four command bars on the left until you've got something good, then hit the play button at the bottom to see how she runs. The fewer instructions your program uses, the better your star ranking will be if it works. Suffice it to say that you'll have to worry about a handful of subroutines, conditional instructions (e.g. only move the crane left if it's holding a yellow crate), stacks of recursive calls, and many clever combinations of the above throughout the game's 36 levels.

The clever and brainteasing puzzles, adorably minimalistic soundtrack, and clear yet non-distracting graphics are more than worth the price of admission alone (it'd have to be, the app is free), but what really makes Cargo-Bot special is that it's the first game to hit the App Store that bears the distinction of having been created entirely on an iPad, using Codea. Codea is another iPad app from Two Lives Left, a programming utility designed for creating games and simulations. The gameplay, music, the cool physics effects when the crane crashes into a wall—it was all done on Codea.

Cargo-Bot is a first, and it's a really good first. If you've got an iPad, grabbing this game will be the best decision you made since you started to read this review!

NOTE: This game was played and reviewed on an iPad. Game was available in the North American market at the time of publication, but may not be available in other territories. Please see individual app market pages for purchasing info.

Walkthrough Guide


(Please allow page to fully load for spoiler tags to be functional.)

Cargo-Bot Walkthrough

General Info

  • Each time you start a new level, take a moment to examine the initial placement and goal position of the crates and look for simple, repeatable patterns.

  • The title of the level itself usually contains a clue or a hint towards the solution.

  • Then try to devise a solution to just get the job done, not worrying initially about how many registers you're using. Once you have a solution, and if it's less than 3 stars, then start to work on optimizing it.

  • This game rewards stars for completing the goal with a minimum number of registers (instructions), therefore some 3-star solutions may not be the most elegant solution possible. Part of the enjoyment of this game may come from devising a solution that doesn't get 3-stars but gets the job done in an elegant or efficient manner.

  • While mastering the art of the function call (Prog 1, Prog 2, etc) is an obvious skill this game requires, a not-so-obvious skill you must master to get far in this game is that of the programming stack. See the Advanced Technique spoiler for an example of using the stack.

Advanced Technique: The Programming Stack

  • The stack is an invisible structure that stores unexecuted instructions in a manner that may not be very obvious. Every time you call a function, all of that function's instructions get placed on the stack.

  • By calling a function recursively (calling Prog 2 from within Prog 2, for example), instructions of that function that follow the recursive call remain on the stack (the stack is "wound" up) and are executed in the event the recursion ends (thus the stack "unwinds").

  • Understanding and exploiting recursion and the stack will be necessary to solve some of the more difficult levels.

  • The following example is meant to show you the behavior of the stack, and it uses the Easy level, "Double Flip". Try the example yourself to see the results as you follow along with the description.

Suppose you have a pile of 4 crates that you want to move one position to the right. (Screenshot)

  • A player unaware of the stack might come up with the solution in the screenshot. This particular program first goes down and fetches a crate and then calls Prog 2.

  • Prog 2 has 6 instructions that are placed on the stack:

    1. move to the right

    2. put the crate down

    3. move to the left

    4. go down and fetch another crate (if one is there)

    5. call Prog 2 (if holding a crate) to do it all over again

    6. AND move to the right

  • Recursion in Prog 2 will begin to unwind when there are no more crates left to pick up: The call to Prog 2 will fail, and then the "move to the right" call will get called 4 times in succession, one for each time Prog 2 was called, thus causing the claw to run into the right barrier and break.

  • This unwinding of the stack occurs because the 4 unused "move to the right" instructions must get executed before any other instructions can be called.

  • For a more exaggerated display of the stack's behavior, try putting a "move the the left" following the "move to the right" instruction at the end of Prog 2, and then run the program again.

Level Solutions

Tutorials

Easy

Medium

Hard

Crazy

Impossible

Restoring Order (3 stars, 17 registers)
Changing Places (coming soon)
Palette Swap (coming soon)
Mirror 2 (coming soon)
Changing Places 2 (coming soon)
Vertical Sort (coming soon)

Bonus Levels

Coming soon!

Shortest Known Solutions

Coming Soon!
If you have a shorter solution than one posted here, please post a screenshot of the formula and we'll add it here.
Tutorials

Cargo 101
Transporter
Re-Curses
Inverter
From Beneath
Go Left

Easy

Double Flip
Go Left 2
Shuffle Sort
Go the Distance
Color Sort
Walking Piles

Medium

Repeat Inverter
Double Sort
Mirror
Lay it out
The Stacker
Clarity

Hard

Come Together
Come Together 2
Up The Greens
Fill The Blanks
Count The Blues
Multi Sort

Crazy

Divide by two
The Merger
Even the Odds
Genetic Code
Multi Sort 2
The Swap

Impossible

Restoring Order
Changing Places
Palette Swap
Mirror 2
Changing Places 2
Vertical Sort

Bonus Levels

Coming soon!

This is still a work in progress, filling in the blanks as quickly as I can. Contributions welcome! :)

This quickly became one of my all-time favorite games. I hope we get a level-editor added to it soon.

6 Comments

Cargo-Bot Walkthrough

General Info

  • Each time you start a new level, take a moment to examine the initial placement and goal position of the crates and look for simple, repeatable patterns.

  • The title of the level itself usually contains a clue or a hint towards the solution.

  • Then try to devise a solution to just get the job done, not worrying initially about how many registers you're using. Once you have a solution, and if it's less than 3 stars, then start to work on optimizing it.

  • This game rewards stars for completing the goal with a minimum number of registers (instructions), therefore some 3-star solutions may not be the most elegant solution possible. Part of the enjoyment of this game may come from devising a solution that doesn't get 3-stars but gets the job done in an elegant or efficient manner.

  • While mastering the art of the function call (Prog 1, Prog 2, etc) is an obvious skill this game requires, a not-so-obvious skill you must master to get far in this game is that of the programming stack. See the Advanced Technique spoiler for an example of using the stack.

Advanced Technique: The Programming Stack

  • The stack is an invisible structure that stores unexecuted instructions in a manner that may not be very obvious. Every time you call a function, all of that function's instructions get placed on the stack.

  • By calling a function recursively (calling Prog 2 from within Prog 2, for example), instructions of that function that follow the recursive call remain on the stack (the stack is "wound" up) and are executed in the event the recursion ends (thus the stack "unwinds").

  • Understanding and exploiting recursion and the stack will be necessary to solve some of the more difficult levels.

  • The following example is meant to show you the behavior of the stack, and it uses the Easy level, "Double Flip". Try the example yourself to see the results as you follow along with the description.

Suppose you have a pile of 4 crates that you want to move one position to the right. (Screenshot)

  • A player unaware of the stack might come up with the solution in the screenshot. This particular program first goes down and fetches a crate and then calls Prog 2.

  • Prog 2 has 6 instructions that are placed on the stack:

    1. move to the right

    2. put the crate down

    3. move to the left

    4. go down and fetch another crate (if one is there)

    5. call Prog 2 (if holding a crate) to do it all over again

    6. AND move to the right

  • Recursion in Prog 2 will begin to unwind when there are no more crates left to pick up: The call to Prog 2 will fail, and then the "move to the right" call will get called 4 times in succession, one for each time Prog 2 was called, thus causing the claw to run into the right barrier and break.

  • This unwinding of the stack occurs because the 4 unused "move to the right" instructions must get executed before any other instructions can be called.

  • For a more exaggerated display of the stack's behavior, try putting a "move the the left" following the "move to the right" instruction at the end of Prog 2, and then run the program again.

Level Solutions

Tutorials

Easy

Medium

Hard

Crazy

Impossible

Restoring Order (3 stars, 17 registers)
Changing Places (coming soon)
Palette Swap (coming soon)
Mirror 2 (coming soon)
Changing Places 2 (coming soon)
Vertical Sort (coming soon)

Bonus Levels

Coming soon!

Shortest Known Solutions

Coming Soon!
If you have a shorter solution than one posted here, please post a screenshot of the formula and we'll add it here.
Tutorials

Cargo 101
Transporter
Re-Curses
Inverter
From Beneath
Go Left

Easy

Double Flip
Go Left 2
Shuffle Sort
Go the Distance
Color Sort
Walking Piles

Medium

Repeat Inverter
Double Sort
Mirror
Lay it out
The Stacker
Clarity

Hard

Come Together
Come Together 2
Up The Greens
Fill The Blanks
Count The Blues
Multi Sort

Crazy

Divide by two
The Merger
Even the Odds
Genetic Code
Multi Sort 2
The Swap

Impossible

Restoring Order
Changing Places
Palette Swap
Mirror 2
Changing Places 2
Vertical Sort

Bonus Levels

Coming soon!

This is still a work in progress, filling in the blanks as quickly as I can. Contributions welcome! :)

This quickly became one of my all-time favorite games. I hope we get a level-editor added to it soon.

Reply
https://www.google.com/accounts/o8/id?id=AItOawm52pQdYHe5BVMT5xBVaFEGo6e2xhGEOzs May 28, 2012 2:05 AM

I found a 6 register solution for Medium Clarity

Do the following in P1 only:

Down
Right if none
Right
Down if green
Left
P1

Reply

I have a 7-register solution for "The Stacker" (Medium Level 5):
Screenshot here.

Reply
uncopy2002 May 12, 2013 11:02 PM

Some unknown solution I've got:

Changing Places

P1: Down, P2, Down, Right, Right, P1
P2: P4(Color), P2(Color), P3, P4
P3: P4(None), P3(None)
P4: Right, Down, Left, Down

Mirror 2

P1: Down, Right, Right(Yellow), Right(Yellow), P2
P2: Down, Left(None), Left(None), Left(None), Right(Yellow), P1

Changing Places 2

So effectively you're just doing a reverse "Lay it out" on this level...

P1: Right, Down, Left, Down, Right(Red), P1

Reply

A 5 register solution for double flip in easy:

prog1:
down
right if color
right if blue
left if none
prog1

Reply
tomasthegreen December 14, 2013 11:41 PM

Medium - Repeat Inverter 6 Registers :D

Prog 1: PR. 2
Prog 2: Down, Right, Down, Left(with "none" above it), PR. 1

Reply

^ Scroll Up | Homepage >

Leave a comment [top of page]

Please consider creating a Casual Gameplay account if you're a regular visitor here, as it will allow us to create an even better experience for you. Sign-up here!
  • PLEASE UNDERSTAND SITE POLICIES BEFORE POSTING COMMENTS
  • You may use limited HTML tags for style:
    (a href, b, br/, strong, em, ul, ol, li, code, spoiler)
    HTML tags begin with a less-than sign: < and end with a greater-than sign: >. Always. No exceptions.
  • To post spoilers, please use spoiler tags: <spoiler> example </spoiler>
    If you need help understanding spoiler tags, read the spoiler help.
  • Please Preview your comment before posting, especially when using spoilers!
  • No link dropping, no domains as names; do not spam, and do not advertise! (rel="nofollow" in use)
5,035 Views
0 Comments
jayisgames.com In this expansive simulation game, individuals can engage in a range of activities such as shooting, stabbing, burning, poisoning, tearing, vaporizing, or crushing ragdolls within a vast open environment. This game invites players to experiment with diverse tools and...  ...
jayisgames.com With the help of stickers, CS2 players can further improve the appearance of their weapons. Stickers look great with skins with a minimalist design. However, you can complement the design of a bright skin with a sticker with a similar...  ...
jayisgames.com CS2 is like the top one spot for esports lovers, players and people who just love to put bets and watch games. The company throws a bunch of events each year. The best part for you and all players...  ...
jayisgames.com NBA 2K24 is inspired by the 2023-24 NBA season and is the newest basketball simulation from 2K Sports. The game showcases the official NBA teams and players, plus the WNBA. Of course, with any game, there's a learning curve...  ...

HELP Jayisgames.com

Recent Comments

 

Display 5 more comments
Limit to the last 5 comments

Game of the week


Dark Romance: Vampire Origins Collector's Edition

Your Favorite Games edit

add
Save links to your favorite games here. Use the Favorites editor.

Monthly Archives