rboyd / randompainter

RandomPainter is a simulator web app built for UMSL CS 4500
Apache License 2.0
1 stars 0 forks source link

Decide at least one additional stopping criteria for the simulator #8

Open rboyd opened 12 months ago

rboyd commented 12 months ago

Before running the Simulator the user must choose some input parameters. From the spec:

The user choices you must ask for are:

X dimension: the size of the grid from left to right; this is given in terms of the number of squares on the grid.

Y dimension: the size of the grid from left to right; this is given in terms of the number of squares on the grid. This may be the same size as the X dimension, but that is not assumed.

Color1, Color2, and Color3: Choosing from choices you make available, the user picks three colors. Give the user 8 or more choices.

Stopping criterion: The user picks a stopping criterion for the random painting. You must include these two criteria as possible stopping points: as soon as the last unpainted square is painted for the first time; and the first time any square gets its second paint blob (this criterion is reminiscent of the birthday paradox). You should think of at least one other stopping criterion, and you may include more than one extra stopping criterion if you’d like.

We need to decide what that additional stopping criterion is.

rboyd commented 11 months ago

I was thinking one new stopping criteria could maybe be some number of populated cells in a row ?