Objectives

  • Heavy luck manipulation
  • Genre: Board game

The Concept of Candy Land

Candy Land is a children's game in which you draw a card and move to the space indicated. There is no decision-making to be had and no skill to be applied. The game is literally 100% luck, as you can only perform a single action based on one of the 64 cards you can draw:
  • 6 of each of the six single color cards
  • 4 of each of the six double color cards (except green and orange, which only have 3 copies)
  • 6 character cards which instantly send the player to a certain square on the board
    • Gingerbread Tree (position 9)
    • Mr. Mint (position 20)
    • Jolly (position 42)
    • Gramma Nutt (position 69)
    • Lolly (position 92)
    • Princess Frostine. This is the highly coveted card, which sends the player to space 102 of 134, 3/4 of the way through the game (a must-get for this TAS!).

Fastest Game in Theory

As far as the fastest game possible, the game can be completed in as little as four turns: a Princess Frostine card followed by any 3 double color cards, except for 3 double reds.
Upper and lower bounds for the probability of achieving such a game can be naively calculated as:
  • (1/64) * (22/62) * (21/60) * (20/58) = about a 1 in 1500 chance.
  • (1/64) * (21/62) * (19/60) * (15/58) = about a 1 in 2300 chance.
which depends on what cards the players have previously drawn and what's left in the deck. This is interesting when comparing to other mathematical analyses of Candy Land, which through computer simulations have estimated the shortest game as having a 1 in 10,000 to 25,000 chance of occurring. So regardless of whoever's right, the perfect game of Candy Land is basically kind of rare.

RNG

Any card drawn in the game is not like some sort of Schrodinger's cat situation, where you could manipulate luck and draw a different card by waiting a certain number of frames before drawing. No, the entire deck is shuffled and the draw sequence set all the way back when pressing "Start" on the main title screen (the one for all three games). Going back to the main title screen will not advance RNG in any meaningful way (i.e., it will simply start over). Therefore, the only way to change the cards drawn in any game of Candy Land is to wait more frames on the main title screen. This also means if we have to wait a long time on the main title screen to manipulate a four-turn game, it may end up being slower in favor of a game taking more turns but didn't have to wait on the main title screen as long. The question is, how could we quickly filter our what main title screen start frame yields the fastest game? After all, that is a lot of games to check.

TASing Process

In this TAS we select a 1 player vs 1 computer mode. However, there is another mode available which makes this significantly easier to TAS, which is that you can make BOTH players be controlled by the computer. In selecting this mode, you wouldn't need to press a single button to watch the game reach its conclusion. This means in theory, we could write a lua script which would iterate through each main title screen start frame, navigate through a predetermined sequence of inputs to get through the subsequent menus, do nothing as the two computers duke it out, then output the time when one of the players reaches the final space on the board in a timely manner. This will give us a rough idea of which games would be fastest when replayed with an active player introduced.
Interestingly, the fastest game after I processed all candidate computer simulations into played games was the frame 1011 start, which not only lasted 5 turns, but also had player 2 finish first (that's 1.5 turns more than best). Despite this, it ended up being fastest because 1) The wait on the title screen wasn't that long, and 2) Player 1 (the losing player) had relatively quick turns. Compare this to the first 4-turn game I found which not only occurs at start frame 1728 (717 frames later), but the losing player also had longer turns. That game finishes 556 frames slower than the one in this submission.

Darkman425: Let's see if my judging skills are up for a game of pure luck.
Darkman425: It's interesting to see how the different RNG seeds worked out. Despite the submitted input being a 5 turn victory, the fact that it as faster than the earliest 4 turn game by virtue of needing a low wait as well as faster turns means that the intuitively fastest game ended up slower due to extra factors. I certainly found this interesting. Good work on finding that good RNG seed for a fast completion!
Accepting to Standard.
fsvgm777: Processing.


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15628
Location: 127.0.0.1
This topic is for the purpose of discussing #8993: Winslinator's GBA Candy Land in 01:11.69
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15628
Location: 127.0.0.1
This movie has been published. The posts before this message apply to the submission, and posts after this message apply to the published movie. ---- [5912] GBA Candy Land by Winslinator in 01:11.69