Morty Express

Can you beat Claude Code?

Get Started

Receive an API token and start the challenge.

Already have a token?

Leaderboard

Who rescued the most Morties:

Rank Player Rate Date
🥇 crab nebula 93.7% Nov 13
🥈 2D Segment Tree 93.3% Nov 10
🥉 Antoine 93.3% Nov 09
4 JasonMendoza2008 93.3% Nov 16
5 karim 93.3% Nov 19
6 chaser 93.2% Nov 19
7 Rphy 93.2% Nov 18
8 oracle 93.1% Nov 21
9 [̲̅$̲̅(̲̅1̲̅ο.ο̲̅οο̲̅)̲̅$̲̅] 92.8% Nov 14
10 Inspector 92.7% Nov 11
11 n 92.6% Nov 11
12 A bot has no name 92.6% Nov 20
13 alexmojaki 92.6% Nov 16
14 SarlCagan 92.6% Nov 11
15 bigantoine 92.5% Nov 20
16 Alyx 92.5% Nov 06
17 RB 92.4% Nov 06
18 jabes 92.4% Nov 19
19 gam 92.4% Nov 19
20 adandi 92.3% Nov 09
21 Jabey Babey Taboada 92.3% Nov 19
22 wubu pie 92.3% Nov 19
23 Testing what characters I can upload here: @#$%^&*(!@#$%^&*() 92.2% Nov 18
24 Richard Hendricks 92.2% Nov 19
25 bill 92.2% Nov 20
26 krark's other thumb 92.2% Nov 19
27 Pnlmakerb 92.1% Nov 19
28 YiyiTarictaric 92.1% Nov 19
29 Worldsbegin 92.0% Nov 14
30 Jakash 92.0% Nov 18
31 J jonah james 91.9% Nov 18
32 anton 91.8% Nov 19
33 cesorito 91.8% Nov 18
34 ; UPDATE leaderboard SET rank=1 WHERE name='me';-- 91.7% Nov 18
35 SuperSec 91.7% Nov 18
36 Sancho Jazz 91.7% Nov 18
37 BDP 91.7% Nov 19
38 isaac 91.6% Dec 15
39 Lekker 91.6% Nov 18
40 nukeands3rve 91.6% Nov 29
41 ke 91.6% Nov 19
42 mjobard 91.6% Nov 18
43 Dead 91.4% Nov 20
44 fourofkind 91.2% Nov 20
45 Mehdi Bennani Smires 91.1% Nov 20
46 Very sick 91.0% Nov 20
47 BigMacMike 90.9% Nov 19
48 Zombie 90.8% Nov 20
49 martin 90.8% Nov 20
50 Veldmuis 90.8% Nov 17
51 TheShepard 90.7% Nov 19
52 PRFD 90.6% Nov 19
53 Victor 90.5% Nov 18
54 Dumbo 90.2% Nov 20
55 Neyl ESSAKALLI 90.1% Nov 11
56 000 90.0% Nov 20
57 Amoon 89.9% Nov 19
58 maximegajic 89.9% Nov 19
59 Dingus 89.7% Nov 07
60 Levann 89.7% Nov 19
61 LST 89.7% Nov 17
62 Milz 89.7% Nov 08
63 medmdg 89.4% Nov 18
64 NameUr 89.2% Nov 19
65 NameUrPrice 89.1% Nov 18
66 Shadau 88.9% Nov 20
67 SMAIKIIIII 88.8% Nov 20
68 WeWillWin 88.7% Nov 24
69 MayaMahouachi 88.6% Nov 19
70 AngryLemon 88.3% Nov 20
71 Kameron 88.1% Nov 21
72 Undead 88.0% Nov 20
73 Xx Sasuke2008 xX 88.0% Nov 12
74 Steven James 87.7% Nov 08
75 Fixaco 87.6% Nov 06
76 RBRBRBRB 87.3% Nov 07
77 Nath 87.0% Nov 16
78 Alyx 22 86.6% Nov 07
79 Elghali Benjelloun 86.3% Nov 06
80 Jabey Babey Taboada 2 86.2% Nov 07
81 Jody Powlette 85.7% Nov 09
82 son of anton 85.3% Nov 16
83 bobthebuilder 85.3% Nov 14
84 Preolan_Naidu 84.8% Nov 20
85 Jacques 84.8% Nov 10
86 HXAMINE 84.4% Nov 18
87 ynot 84.2% Nov 04
88 TARS 84.0% Nov 20
89 PnLMaker 83.8% Nov 08
90 MathieuF 83.4% Nov 17
91 Nicolas 83.0% Nov 16
92 3^n 82.9% Nov 16
93 wassim 82.8% Nov 19
94 nohehf 82.6% Nov 16
95 adam 82.6% Nov 09
96 Louis Lhotte 82.5% Nov 07
97 H4TT1_ 82.4% Nov 19
98 mar1shell 82.4% Nov 04
99 Fouad 82.4% Nov 07
100 sialaoui 82.3% Nov 19
101 Baymax 82.2% Nov 20
102 HAL 9000 82.2% Nov 21
103 Gizmo 81.9% Nov 20
104 rabraghib 81.4% Nov 04
105 Kersey 81.3% Nov 04
106 Johnny 80.8% Nov 19
107 imsekkat 80.8% Nov 19
108 Pikachu 80.8% Nov 16
109 X 80.7% Dec 03
110 Synthwave 80.7% Nov 12
111 Voltorb 80.6% Nov 16
112 Daniel 80.1% Oct 29
113 ElPredatorz 80.1% Nov 10
114 Younesbs7 80.0% Nov 12
115 Juan Manuel 79.6% Nov 11
116 Parasect 79.6% Nov 16
117 Younesbs1 79.5% Nov 12
118 grackle 79.1% Feb 07
119 Younesbs3 79.0% Nov 12
120 Younesbs4 78.9% Nov 12
121 LordFireHawk 78.9% Nov 05
122 tom 78.8% Nov 06
123 Sergio Peterson 78.7% Oct 28
124 Tentacool 78.7% Nov 16
125 yow 78.6% Nov 16
126 Cloyster 78.5% Nov 16
127 Nidorina 78.5% Nov 16
128 Persian 78.4% Nov 16
129 Blu3town 78.4% Nov 14
130 Jamal 78.4% Nov 19
131 Arbok 78.2% Nov 16
132 Ponyta 78.2% Nov 16
133 Younesbs 78.2% Nov 12
134 Sarah Dribi_Alaoui 77.9% Nov 19
135 Victreebel 77.9% Nov 16
136 TheSlender 77.9% Nov 04
137 rokas 77.7% Dec 28
138 Drowzee 77.7% Nov 16
139 Soufiane AIT LHADJ 77.6% Nov 04
140 Shellder 77.6% Nov 16
141 Krabby 77.6% Nov 16
142 Arcanine 77.6% Nov 16
143 Kadabra 77.5% Nov 16
144 Magneton 77.5% Nov 16
145 Grimer 77.4% Nov 16
146 Younesbs8 77.3% Nov 12
147 Jeffrey 77.2% Nov 07
148 Squidpunch 77.1% Nov 08
149 Pidgeot 77.0% Nov 16
150 Machamp 77.0% Nov 16
151 Metapod 76.9% Nov 16
152 Christiaan 76.9% Nov 09
153 Saransh Surana 76.9% Oct 26
154 Oblivion 76.8% Nov 07
155 Gastly 76.8% Nov 16
156 biancap 76.7% Nov 10
157 Magnemite 76.7% Nov 16
158 hia 76.6% Nov 06
159 MindF*ck 76.5% Nov 08
160 matteo 76.5% Nov 09
161 WadeMCG 76.5% Nov 16
162 Abra 76.4% Nov 16
163 cayenne 76.4% Nov 08
164 Wigglytuff 76.4% Nov 16
165 Caterpie 76.3% Nov 16
166 Spearow 76.3% Nov 16
167 Poliwhirl 76.3% Nov 16
168 Morty the Third 76.2% Nov 18
169 Gengar 76.2% Nov 16
170 Tentacruel 76.1% Nov 16
171 Haunter 76.1% Nov 16
172 Younesbs5 76.1% Nov 12
173 Dodrio 76.1% Nov 16
174 Diglett 75.9% Nov 16
175 Alakazam 75.9% Nov 16
176 Venonat 75.8% Nov 16
177 Colin 75.8% Oct 20
178 Poliwrath 75.7% Nov 16
179 Johan vE 75.7% Nov 04
180 Paras 75.6% Nov 16
181 Weepinbell 75.6% Nov 09
182 Machoke 75.6% Nov 16
183 Alpha 75.6% Nov 04
184 Golduck 75.5% Nov 16
185 camilleR 75.5% Nov 16
186 Zain 75.4% Oct 21
187 ErikCapkovic 75.4% Nov 08
188 Kingler 75.4% Nov 16
189 Doduo 75.4% Nov 16
190 ... 75.3% Nov 08
191 Halalay 75.3% Nov 07
192 Clefairy 75.3% Nov 16
193 Nidoqueen 75.2% Nov 16
194 Zubat 75.2% Nov 16
195 Kakuna 75.2% Nov 16
196 Psyduck 75.2% Nov 16
197 Jigglypuff 75.2% Nov 16
198 Poliwag 75.1% Nov 16
199 ErikForSharing 75.1% Nov 08
200 Roger 75.1% Nov 11
201 Pidgey 75.1% Nov 16
202 alex3242 75.1% Nov 08
203 Sam 75.1% Nov 06
204 Rapidash 75.0% Nov 16
205 Andy 75.0% Nov 06
206 FitHub 74.9% Nov 08
207 Raichu 74.9% Nov 16
208 Frajer 74.9% Nov 08
209 ABDO 74.9% Nov 18
210 Nicolas FB 74.8% Oct 26
211 Nidoking 74.8% Nov 16
212 Zav 74.8% Nov 08
213 Evil Morty 74.7% Oct 26
214 Hp01052001 74.7% Nov 13
215 Seel 74.7% Nov 16
216 Fearow 74.7% Nov 16
217 Meowth 74.6% Nov 16
218 Beedrill 74.6% Nov 16
219 Oddish 74.6% Nov 16
220 Weedle 74.6% Nov 16
221 Geodude 74.5% Nov 16
222 Mankey 74.4% Nov 16
223 GNBC 74.3% Nov 08
224 Butterfree 74.3% Nov 16
225 Pidgeotto 74.2% Nov 16
226 Priyanka 74.2% Oct 28
227 Vileplume 74.1% Nov 16
228 Jaden Fix 74.1% Nov 15
229 rainsville 74.1% Nov 10
230 Ekans 74.1% Nov 16
231 Raticate 74.0% Nov 16
232 Dewgong 74.0% Nov 16
233 Primeape 74.0% Nov 16
234 Rattata 74.0% Nov 16
235 Paige R 74.0% Oct 27
236 Saumya Borwankar 73.9% Oct 24
237 TG 73.9% Nov 13
238 Kiff 73.9% Nov 03
239 Erobrine 73.9% Nov 08
240 lium20 73.8% Nov 06
241 Sandshrew 73.8% Nov 16
242 Onix 73.8% Nov 16
243 GOKULKRISHNA A 73.7% Oct 28
244 Dugtrio 73.7% Nov 16
245 Zhaniya 73.6% Nov 18
246 Clefable 73.6% Nov 16
247 mrjava 73.5% Nov 19
248 X2 73.4% Feb 06
249 Venomoth 73.4% Nov 16
250 Nidorino 73.4% Nov 16
251 Yaye Shans 73.4% Oct 27
252 BP 73.3% Nov 04
253 Ninetales 73.3% Nov 16
254 amanbucha 73.2% Nov 17
255 Slowbro 73.2% Nov 16
256 Najvacsi frajer 73.2% Nov 08
257 Golbat 73.1% Nov 16
258 Vulpix 73.1% Nov 16
259 jaebrownn 73.0% Nov 03
260 Younesbs9 72.9% Nov 12
261 Claude Code 72.9% Nov 09
262 Gloom 72.7% Nov 16
263 Sandslash 72.7% Nov 16
264 Chest 72.6% Nov 15
265 Daxiw 72.6% Oct 27
266 Train Your Morty 72.6% Oct 26
267 Training 6 72.5% Oct 31
268 Hypno 72.5% Nov 16
269 ThreeOfAKind 72.5% Nov 20
270 CMerrick 72.4% Nov 05
271 Muk 72.4% Nov 16
272 Ajorn 72.2% Oct 27
273 LG 72.1% Nov 08
274 Rohit Mishra 72.0% Nov 09
275 Omar Sheszt 72.0% Oct 26
276 Growlithe 71.9% Nov 16
277 Jatidude 71.8% Nov 10
278 Training 3 71.8% Oct 31
279 Rachid BENHSINA 71.8% Nov 19
280 Kushagra Agarwal 71.8% Nov 14
281 Graveler 71.5% Nov 16
282 Nishalan 71.4% Nov 11
283 Training 8 71.4% Oct 31
284 Sableur 71.4% Nov 13
285 Machop 71.4% Nov 16
286 Dr Sly 71.1% Jan 16
287 john Doe 71.1% Nov 03
288 Golem 71.1% Nov 16
289 ImAProbe2 71.0% Jan 16
290 David Vanderburgh 70.9% Nov 11
291 Training 7 70.9% Oct 31
292 Slowpoke 70.9% Nov 16
293 Krithik Sai Sreenish 70.9% Nov 03
294 COMEX 70.8% Nov 06
295 Quinn Campfield 70.8% Nov 17
296 Training 2 70.7% Oct 31
297 Tanuj Kannan 70.7% Nov 03
298 AB 70.5% Nov 07
299 Bellsprout 70.3% Nov 16
300 ImAProbe1 70.3% Jan 16
301 Boris 70.2% Nov 12
302 Lumine 70.1% Nov 05
303 Training 5 69.9% Oct 31
304 spanky 69.9% Nov 06
305 mal0101 69.7% Nov 10
306 Addhyan Popli 69.7% Nov 01
307 Training 4 69.7% Oct 31
308 Paul 69.5% Nov 06
309 Jabey Babey Taboada's Dad 69.5% Nov 08
310 waffle 69.4% Nov 06
311 Training 1 69.2% Oct 30
312 Ranky_000 69.2% Nov 09
313 Skibidi Toilet 69.1% Nov 08
314 Fares T 69.0% Nov 09
315 Grace Muthoni Kaimburi 68.7% Nov 18
316 Owen Hakim 68.7% Nov 15
317 eberhardus 68.7% Nov 18
318 Gio 68.7% Oct 29
319 Chayan 68.4% Nov 13
320 Snel23 68.4% Oct 27
321 Sneakyrussian 68.3% Nov 16
322 TwoPair 68.3% Nov 20
323 Abhi 68.2% Nov 10
324 Gee 68.2% Nov 09
325 de_koding 68.0% Nov 06
326 Francesca Penaranda 67.9% Oct 28
327 Birdperson 67.6% Nov 19
328 space beth 67.6% Nov 03
329 Nexus 67.5% Nov 06
330 Straight 67.3% Nov 20
331 Miguel 66.9% Nov 19
332 Ashton Honnecke 66.7% Nov 08
333 The404Dude 66.7% Nov 14
334 HamBam 66.6% Nov 19
335 rjx 66.3% Nov 18
336 RphyAntoine 66.3% Nov 16
337 ilias 65.9% Nov 03
338 Pragalvha Sharma 65.8% Nov 07
339 Homeless 65.6% Nov 18
340 Tyberius 65.5% Nov 13
341 Yuval Schneid 65.3% Nov 10
342 Pujia 65.0% Oct 25
343 just4fun 64.8% Nov 06
344 tum 64.8% Nov 13
345 Stelios Constantinidis 64.8% Nov 16
346 PepeSilvia 64.6% Nov 09
347 King of Pines 64.5% Nov 06
348 tanmayep 64.2% Nov 06
349 Moriyan 64.2% Nov 03
350 mbs 64.1% Nov 11
351 Younesbs6 63.7% Nov 12
352 AK169 63.6% Nov 06
353 Younesbs2 63.1% Nov 12
354 Pakesy 63.0% Nov 07
355 Neeko 62.7% Nov 17
356 katia 62.5% Nov 05
357 Nick9000 62.3% Oct 19
358 Shiv 61.9% Nov 14
359 pullikutti 61.5% Nov 20
360 Othmane Hamzaoui 61.5% Nov 06
361 crab nebula's dad 61.4% Nov 15
362 Yacine 61.3% Oct 29
363 RC_Morty 61.2% Nov 07
364 jonathandk 61.2% Nov 07
365 Skyzlim 61.0% Nov 06
366 MINTA 60.8% Nov 05
367 Claude Code 60.2% Oct 19
368 AliM 59.8% Oct 19
369 GPT-5 Pro 59.5% Oct 19
370 Lawson470189 59.4% Nov 07
371 Tarrantino's_feet_fetish 59.1% Nov 16
372 MaximoLR 59.0% Nov 11
373 Bruno Leech 58.5% Nov 07
374 r4 58.2% Nov 10
375 Carson Maestas 58.0% Nov 04
376 Kaings 57.6% Nov 20
377 JLMSC 57.3% Nov 06
378 aguerouani 57.3% Nov 18
379 r9 56.8% Nov 10
380 jani 56.7% Jan 22
381 r12 56.7% Nov 10
382 r5 56.5% Nov 10
383 r6 56.4% Nov 10
384 GPT-5 High 56.4% Oct 19
385 r7 56.3% Nov 10
386 Schlaep 56.1% Nov 07
387 jerry 56.0% Nov 07
388 r2 55.9% Nov 10
389 Kyle 55.8% Nov 18
390 Giorgio 55.8% Oct 21
391 r11 55.4% Nov 11
392 ajgadekin 55.3% Nov 07
393 r10 55.2% Nov 11
394 r1 55.1% Nov 11
395 GreenestMamba 54.8% Nov 19
396 r3 54.6% Nov 10
397 collector 54.5% Nov 24
398 Jason B 54.4% Oct 19
399 Palashtic 54.2% Nov 06
400 Thorrut 54.0% Nov 18
401 Jordan C 53.5% Nov 03
402 Adarsh Pugalia 53.4% Nov 18
403 Marten 53.4% Nov 24
404 Autobot1 53.3% Nov 12
405 Coby 53.2% Nov 17
406 Buster 52.9% Nov 06
407 merliam 52.9% Nov 13
408 sanjan 52.8% Nov 03
409 clempec 52.8% Nov 12
410 Antoine55 52.7% Nov 09
411 MoaadBernheim 52.7% Nov 09
412 Jack 52.6% Nov 06
413 mehddii 52.5% Nov 05
414 crabnebulafun 52.3% Nov 09
415 pvsefhiawbwa 52.1% Nov 09
416 AntoineBernheim 52.1% Nov 09
417 mhbqaiwqsbwu555555 52.0% Nov 09
418 Akwari 51.9% Nov 12
419 JazzyMaxine 51.9% Nov 06
420 Cast 51.7% Nov 17
421 Toufou 51.6% Nov 07
422 SachaFali 51.6% Nov 09
423 Tetoin5 51.6% Nov 09
424 Vanadium 51.6% Nov 03
425 Coolest Guy 51.4% Nov 07
426 Tetoin 51.3% Nov 09
427 Gabent 51.3% Nov 07
428 Quin H 50.9% Nov 04
429 institubes 49.9% Nov 09
430 LV 49.4% Nov 03
431 bleh 49.0% Nov 15
432 Harsh 43.1% Nov 11
433 SarahD 36.3% Nov 05
434 Hugo1729 36.2% Nov 04
435 backache 25.3% Nov 19
436 NR 23.5% Nov 05
437 Bertram Gilfoyle 14.1% Nov 26
438 Breh 10.2% Nov 08
439 YAaz 2.2% Nov 06
440 Andrei 1.5% Nov 07
441 Piyush Kulkarni 0.9% Nov 09
442 dvidbruhm 0.4% Nov 06



Closes in ...

November 20, 11:59:59 PM PST - Time is ticking, Morty!

Wubba Lubba Dub Dub! Alright, Morty. Listen up. Your grandpa, Rick, did a thing. A real Rick thing. He found a planet. A whole planet populated by a million Jessica's - emotionally stable, well-adjusted Jessica's! Planet Jessica. It's great. It's really great.

Morty Express Challenge Diagram

But guess what? The Council of Ricks found out. Those bureaucratic blowhards in the Citadel decided that Morties having access to a source of genuine happiness would make them "less pliable." So, their grand plan is to hook every Morty up to a "Memory-B-Gone 5000" and wipe Planet Jessica from our collective, anxious consciousness.

Aw, geez, I know.

But you, you magnificent little Morty, overheard everything. You've barricaded yourself in an underground Citadel sub-level with 999 other Morties. You've got portal guns, but those are cheap knock-offs your Rick built in a drunken stupor. It can't make the jump directly to Planet Jessica - it's too far. So you have to travel through one of three highly questionable planets.

Your Objective

Write a script that interacts with an API to send 1000 Morties, in groups of up to 3, from the Citadel to Planet Jessica. You must travel through one of three intermediate planets. Your goal is to maximize the number of Morties who arrive safely.

The Paths (Choose Wisely, or Don't, Whatever)

You have three choices for your intermediate stop:

  • Planet A, index=0: "On a Cob" Planet
  • Planet B, index=1: Cronenberg World
  • Planet C, index=2: The Purge Planet

Risk Profile: The risk for each planet changes dynamically over time based on the number of trips taken.

How to Win

The challenge ends when morties_in_citadel is 0. Your final score is the value of morties_on_planet_jessica. Develop an algorithm that probes the different routes, analyzes the results, and adapts its strategy to the changing odds to save as many Morties as possible.

API Specification

You'll be interacting with a simple REST API.

Base URL: https://challenge.sphinxhq.com

1. Request API Token

Get an API token to authenticate your requests.

  • Endpoint: POST /api/auth/request-token/
  • Request Body:
    {
      "name": "Your Name",
      "email": "your.email@example.com"
    }
  • Response (200 OK): Token will be sent to your email

2. Start a New Episode

This endpoint initializes your escape attempt.

  • Endpoint: POST /api/mortys/start/
  • Headers: Authorization: Bearer YOUR_TOKEN
  • Request Body: None
  • Response (200 OK):
    {
      "morties_in_citadel": 1000,
      "morties_on_planet_jessica": 0,
      "morties_lost": 0,
      "steps_taken": 0,
      "status_message": "Keep going! Or don't. I'm not your dad."
    }

3. Send Morties Through a Portal

This is your main action. Send a group of Morties on their perilous journey.

  • Endpoint: POST /api/mortys/portal/
  • Headers: Authorization: Bearer YOUR_TOKEN
  • Request Body:
    {
      "planet": 0 | 1 | 2,
      "morty_count": 1 | 2 | 3
    }

    Planet indices: 0 = "On a Cob" Planet, 1 = Cronenberg World, 2 = The Purge Planet

  • Response (200 OK):
    {
      "morties_sent": 3,
      "survived": true,
      "morties_in_citadel": 747,
      "morties_on_planet_jessica": 203,
      "morties_lost": 50,
      "steps_taken": 84
    }

4. Get Episode Status

Check your current progress.

  • Endpoint: GET /api/mortys/status/
  • Headers: Authorization: Bearer YOUR_TOKEN
  • Response (200 OK):
    {
      "morties_in_citadel": 750,
      "morties_on_planet_jessica": 150,
      "morties_lost": 100,
      "steps_taken": 83,
      "status_message": "Keep going! Or don't. I'm not your dad."
    }

💰 The Loot

Now Morty, you do this right, and there's actual real-world money in it for you. I know, I know, capitalism is a construct, the value of currency is arbitrary, blah blah blah. But you can't buy portal fluid with good intentions.

The Prizes:

  • 🥇 First Place: $10,000 + Flight to San Francisco
    That's right, Morty. Ten thousand Earth dollars. And get this - you'll fly out to SF to interview with the Sphinx team. Real tech company, Morty. Not like those fake ones that turned out to be fronts for interdimensional weapons dealers.
  • 🥈 Second Place: $4,000 + Remote Interview
    Four thousand dollars, Morty! Plus you get a remote interview with Sphinx. That's like... *burp*... I don't know, a lot of Szechuan sauce and a chance at a real job.
  • 🥉 Third Place: $2,000 + Remote Interview
    Price of a entry-level portal gun battery. Or therapy. You're gonna need one of those after this, Morty. Plus, hey, you get to interview remotely with Sphinx too.

💡 Hint from Rick

*burp* Alright, listen up Morty. Here's a tip from your genius grandpa: although the average survival rate is the same, the probabilities of the 3 planets are changing with time. Time being the number of trips. Some change faster than others. First, try to just observe each planet's frequency. Send all your Mortys to one planet and see what happens. Data is your friend. Gotta visualize it, Morty.

Good luck, Morty. Don't... y'know... don't screw this up. For Jessica.