Skip to content
Colours
Log inSign up

Marienbad

    mathematical game of strategy

    About this game

    Marienbad is a 1962 Polish puzzle game for the Odra 1003 mainframe, adapted from nim. Witold Podgórski, an Elwro engineer, created it.

    Based on the matchstick game nim, you face the computer in a contest where whoever takes the last match loses.

    Players alternate removing matches from the set, and the computer always makes the optimal choice.

    On your turn you remove matches from the set, alternating with the computer, while the printout shows the layout.

    The default game generated four rows holding one, three, five or seven matches each. Play ran through a teletypewriter and card perforator, since the Odra 1003 had no screen.

    Whoever is left holding the final match loses, and the computer almost always wins regardless of who starts.

    Maximum settings allowed up to 8,000 rows and a trillion matches, with the computer taking about an hour per move.

    Its simplicity aside, the game may count as Poland's earliest computer or video game, and it is now regarded as lost.

    Photos

    No image yet. The box above is drawn from the game's name.

    Rankings

    No vote yet

    Rules

    Videos

    Music

    Comments

    Get this game from the API

    curl https://api.thebgdb.org/v1/games/9431e78a-0b9a-4b54-a718-0941c7fe83b5

    Last updated 26 November 2026