Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #61: Save the Astronaut

hanykowska
11 - Bolide

Nice one.

Spoiler
I got different results but that is due to the fact that my camera doesn't go past 360 degrees (from 63 to 317 degrees it takes 254 degrees, not 106) I also added 1s of a break to indicate card selection.


image.png
FRANCK_ROUQUETTE
8 - Asteroid

Thank you for the exercise - it was a funny one - attached my solution.

CaraI
Alteryx
Alteryx

Another one down on my quest to catch up  - 

 

Spoiler
61 workflow.jpg

 

ConradW
8 - Asteroid

challenge 61 done. 1 second pause in between each card.

TonyA
Alteryx Alumni (Retired)

Had a lot of fun with this one. I did do a couple of things to minimize camera movement. For example, if a card was repeated I moved the camera halfway to an adjacent position and then back -- just enough to indicate a double.

SubratDas5
10 - Fireball

My Solution.

ArnavS
Alteryx
Alteryx
 
Jonathan-Sherman
15 - Aurora
15 - Aurora

Challenge 61 is done!

 

Spoiler
challenge 61 JMS solution.PNG
JamesCameron
8 - Asteroid

My Effort.

 

Assumptions:

 

The message was spelled exactly as given, including spaces, punctuation and casing

Camera can pan either way

No time was allocated to stop on each card

 

I got a slightly shorter time than the given answer, but noticed that some angles in the supplied solution were more than 180 degrees. In my answer the camera always takes the short way round, so all angles are less than or equal to 180.

 

Spoiler
JamesCameron_0-1575833795628.png
SueDonim
8 - Asteroid

That was quite interesting, and reminded me I should see this movie again.  Good one.  Learned a little about hex too.

 

Spoiler
Assumptions:
- All characters (including caps, spaces, and final period) as in original message.  Don't want to risk misunderstanding message just to save a character
- Stop 1 second on each card selected (though I have to think there is a light or something they could turn on to indicate the selection)
- Shortest distance to subsequent card
- Repeat cards have no distance between them (as opposed to 360 degrees) - a bit of a cheat unless there is a light or other indicator

My solution was 9 seconds longer, but heck, he was there something like 18 months as I recall, so this was probably great entertainment for him

Process:
- Tokenize (split to rows) using (\w|\W)
- Add RecordID
- Dynamic Rename hex table
- Join Response to Symbol
- Sort by RecordID
- Split two hex characters (split to rows) using (\w)
- Add RecordID
Lower thread....
- Add RecordID
- Count records
- Divide 360 by # of records (this is the angle between cards)
Join threads....
- Join Hex to Cards
- Sort by RecordID
- Create field CardNum by adding 1 to Right_RecordID since Hex starts at 0 (should have just joined to Right_RecordID in the first place)
- Calculate angle travelled between cards selected
- Append camera angle speed to thread
- Calculate Angle travelled (shortest distance if greater than 180)
- Calculate seconds (Angle / 4) + 1
- Sum of seconds
- Divide by 60 for Minutes



MySolution.PNG