My new application for the Turner Prize

1 Like

How did you make this?

I wish I could claim credit for design genius, but it’s just std::cout of a lot of text.

:rofl:

void PrintIntroduction(int Difficulty)
{
    // Print welcome messages to the terminal
    std::cout << "\n\nYou are a genius scientist, working on stage " << Difficulty << " of creating a new element\n";
    std::cout << "by mixing different amounts of protons, neutrons and electrons together...\n\n";
    std::cout << "   1A   2A                                         3A  4A  5A  6A  7A  8A\n";
    std::cout << "  -----                                                               -----\n";
    std::cout << "1 | H |                                                               |He |\n";
    std::cout << "  |---+----                                       --------------------+---|\n";
    std::cout << "2 |Li |Be |                                       | B | C | N | O | F |Ne |\n";
    std::cout << "  |---+---|                                       |---+---+---+---+---+---|\n";
    std::cout << "3 |Na |Mg |3B  4B  5B  6B  7B |    8B     | 1B 2B |Al |Si | P | S |Cl |Ar |\n";
    std::cout << "  |---+---+---------------------------------------+---+---+---+---+---+---|\n";
    std::cout << "4 | K |Ca |Sc |Ti | V |Cr |Mn |Fe |Co |Ni |Cu |Zn |Ga |Ge |As |Se |Br |Kr |\n";
    std::cout << "  |---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---|\n";
    std::cout << "5 |Rb |Sr | Y |Zr |Nb |Mo |Tc |Ru |Rh |Pd |Ag |Cd |In |Sn |Sb |Te | I |Xe |\n";
    std::cout << "  |---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---|\n";
    std::cout << "6 |Cs |Ba |LAN|Hf |Ta | W |Re |Os |Ir |Pt |Au |Hg |Tl |Pb |Bi |Po |At |Rn |\n";
    std::cout << "  |---+---+---+------------------------------------------------------------\n";
    std::cout << "7 |Fr |Ra |ACT|\n";
    std::cout << "  ===--------------------------------------------------------------------===\n";
    std::cout << "   Lanthanide |La |Ce |Pr |Nd |Pm |Sm |Eu |Gd |Tb |Dy |Ho |Er |Tm |Yb |Lu |\n";
    std::cout << "              |---+---+---+---+---+---+---+---+---+---+---+---+---+---+---|\n";
    std::cout << "   Actinide   |Ac |Th |Pa | U |Np |Pu |Am |Cm |Bk |Cf |Es |Fm |Md |No |Lw |\n";
    std::cout << "              -------------------------------------------------------------\n\n";
}

Privacy & Terms