Studio › Knowledge

Logic, coding and the mind

The ideas behind the logic games: algorithms, conditions, best paths, strategies, systems that grow from simple rules, and how our attention works.

15 / 15 cards

  • Algorithm

    Area
    Coding

    A sequence of precise steps, in order, that solves a problem. A robot does exactly what it says, even when it is wrong.

  • Attention

    Area
    Mind

    The mind picks what to look at and ignores the rest. It can be trained, and it gets tired: that is why notifications steal it so easily.

  • Best path

    Area
    Coding

    A sat-nav looks for the shortest, fastest or cheapest road. The A* algorithm tries first the roads that look closest to the goal.

  • Boolean logic

    Area
    Coding

    True or false, joined with AND, OR, NOT: "red AND round" is narrower than "red OR round".

  • Condition

    Area
    Coding

    IF this happens, THEN do that. Conditions let a program choose.

  • Debugging

    Area
    Coding

    Finding and fixing the mistake in a program: watch where the robot goes wrong and change one step at a time.

  • Deduction

    Area
    Strategy and games

    Working out a hidden thing for certain from the clues you have: if the numbers around say 2 and you already see 2, the rest is safe.

  • Executive functions

    Area
    Mind

    The skills of the mind's "boss": keeping things in mind, stopping an impulse, switching rule on the fly.

  • Fewest moves

    Area
    Strategy and games

    In sliding-block puzzles it helps to work backwards: ask what must move so the robot can get through.

  • Game mechanic

    Area
    Game design

    A rule that turns an activity into a game: a goal, a time limit, a secret, a reward.

  • L-system

    Area
    Coding

    A few rewriting rules, repeated, draw plants, snowflakes and curves: invented by the biologist Aristid Lindenmayer.

  • Off switch

    Area
    Coding

    Every smart machine must be safe to switch off: it is one of the problems of AI safety.

  • Qubit

    Area
    Coding

    The "bit" of quantum computers: a bit is 0 or 1, a qubit can be a bit of both until you measure it.

  • Strategy

    Area
    Strategy and games

    Thinking about your opponent's moves before making yours: "if I play here, they answer there".

  • Trade-off

    Area
    Strategy and games

    When you improve one thing you make another worse: the fastest road is not always the cheapest.

Texts: 2042 (licence CC BY-SA 4.0).

BETA