Skip to content

Instantly share code, notes, and snippets.

@runandrerun
Created December 8, 2018 19:19
Show Gist options
  • Save runandrerun/9d3aac52deae32749906cac9e1614c71 to your computer and use it in GitHub Desktop.
Save runandrerun/9d3aac52deae32749906cac9e1614c71 to your computer and use it in GitHub Desktop.
// before entering
{
insideBodega: false, choppedCheese: 10, catMood: "Neutral",
}
// after entering
{
insideBodega: true, choppedCheese: 10, catMood: "Neutral",
}
// after buying two sandwiches
{
insideBodega: true, choppedCheese: 8, catMood: "Neutral",
}
// after petting the bodega cat
{
insideBodega: true, choppedCheese: 8, catMood: "Happy",
}
// after leaving
{
insideBodega: false, choppedCheese: 8, catMood: "Happy",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment