Back
Close

Marvin the Depressed Android

Welcome!

This is an exercise used to practice TDD. In this exercise, we'll build a simple AI for Marvin the Depressed Android.

Marvin should follow some simple rules:

  1. Marvin responds to most things with "Whatever."
  2. Marvin responds to questions with "I don't care."
  3. Marvin responds to silence with "Fine. Waste my time."
  4. Marvin responds to yelling with "You don't have to yell. I'm right here."

Advanced: Marvin responds to "Was willst du essen?" with "Mir egal." Hint: this is the start of more robust functionality.

Workspace

Marvin the Android
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants