Wolfram Research

Function Repository Resource:

CircleTheDrain

Source Notebook

Play Bob Sandheinrich’s “Circle the Drain” game

Contributed by: Bob Sandheinrich

ResourceFunction["CircleTheDrain"][]

launches a new game of Circle the Drain.

Details and Options

The goal of the game is to collect as many targets as possible before falling into the drain.
Push your disk around by hovering your mouse over the arena.
The drain weakly pulls your disk toward itself. Falling into the drain ends the game.
An arrow shows the direction and power of the force you are applying to the disk.
Collect the gold targets by running into them.
Click the game to pause.
Quickly changing directions is a bad strategy, try continually circling.
The walls a bit bouncy.
Can you get 10 points? How about 50?

Examples

Basic Examples

Launch a new game:

In[1]:=
ResourceFunction["CircleTheDrain"][]
Out[1]=

Requirements

Wolfram Language 11.3 (March 2018) or above

Resource History

See Also

License Information