digitalepidemiologylab / VaxGame

network-based vaccination game
81 stars 42 forks source link

Premature Quarantine #1

Closed ells closed 11 years ago

ells commented 11 years ago

At guideRailsPosition = 14, the user is capable of quarantining before they should be able to (by clicking a node). This can be resolved by changing the .on("click", function()) to ensure quarantine actions are tied to quarantineMode = true.

Also, on this same frame, we say a day counter where we shouldn't. We may be removing the day counter altogether.

ells commented 11 years ago

two minor changes. (1) ensure that quarantineMode = true before allowing quarantine by click. (2) make quarantineMode = true only after the quarantine tool has been selected.