You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that the director hides the mole automatically, it can be difficult to tell why a particular mole has been hidden. If we click a mole and it was a "close
call", how do we know we weren't too slow? Let's extend the display
capabilities of the Mole so that "whac'd" moles look a little differnt when
they are disappearing.
mole.js
Add a "whacd" class name to moles when they are whac'd.
Stylesheet(s)
Define some custom styling for the selector .mole.whacd. A couple
ideas: a different background-color/background-image and/or a slower transition delay.
Now the user will get some feedback when they successfully whac-a-mole. Only
problem is, it looks like once we whac a mole, it stays whac'd forever. Fix
that bug.
The text was updated successfully, but these errors were encountered:
Now that the director hides the mole automatically, it can be difficult to tell
why a particular mole has been hidden. If we click a mole and it was a "close
call", how do we know we weren't too slow? Let's extend the display
capabilities of the
Mole
so that "whac'd" moles look a little differnt whenthey are disappearing.
mole.js
"whacd"
class name to moles when they are whac'd..mole.whacd
. A coupleideas: a different
background-color
/background-image
and/or a slowertransition
delay.Now the user will get some feedback when they successfully whac-a-mole. Only
problem is, it looks like once we whac a mole, it stays whac'd forever. Fix
that bug.
The text was updated successfully, but these errors were encountered: