Skip to main content
1 of 5

Brainfuck

Task: Write a program that chooses a random number from 1 to 100. The user then attempts to guess this number. After each guess the program tells the user if his/her guess was bigger or smaller than the correct number, or correct. Finally, the program should tell the user how many guesses he/she took.

A very simple program, however I think brainfuck in itself f**cks your brain.