Skip to main content

Questions tagged [interactive]

Used for challenges that require user interaction during their runtime

Filter by
Sorted by
Tagged with
53 votes
6 answers

Visualize Visual Eyes

You may or may not remember Xeyes, a demo program that came with (and, as far as I know, still comes with) the X window system. Its purpose was to draw a pair of eyes that followed your mouse cursor: ...
Jordan's user avatar
  • 10.1k
36 votes
19 answers

Map inputted ASCII characters

Be sure to see the other challenge, Reverse ASCII character map! The ASCII charset (American Standard Code for Information Interchange) is the most widely-used character encoding standard. ASCII ...
MD XF's user avatar
  • 13.9k
88 votes
61 answers

Shut down the computer!

Challenge: In the programming language of your choice, shut down the machine that your code was executed on. Rules No shutting down by resource exhaustion (e.g.: forkbomb to force shutdown) You are ...
Offtkp's user avatar
  • 3,062
51 votes
26 answers

Create a Paint program!

Introduction One day, you were showing your kid how to draw on a computer. You type mspaint.exe in the run bar. To your horror, it says "No items match your ...
Luke B's user avatar
  • 777
42 votes
25 answers

Impatiently wait for input

Your task today is to implement a time limit for getting input, a task I've found rather annoying to achieve in most languages. You will create a program function which prompts the user for input. ...
Pavel's user avatar
  • 9,377
36 votes
66 answers

Insist on an answer

At runtime, keep prompting for a line of input until the user inputs something (other than an empty newline), i.e. does not just press Enter or OK. Output or result is neither required nor prohibited. ...
Adám's user avatar
  • 30.4k
19 votes
18 answers

Create a simple line editor

In: a string without line breaks* Allow the user to edit and submit the line Out: the modified string (optionally with a trailing linebreak) The line editor must at minimum allow the user to: move a ...
Adám's user avatar
  • 30.4k