Image via About Foursquare

There’s a lot of nerdy tech things going on over in Kendall Square, but I’m pretty sure this one takes the cake. The Legal Sea Foods location has installed a gumball machine that dispenses a piece of gum every time you check-in on foursquare.

According to the About Foursquare blog, the “CheckNChew” gumball machine was developed by Legal Sea Foods’ New York ad agency, DeVito/Verdi. By coupling an open-sourced electronics prototyping platform called an Arduino with foursquare’s API, a sugary gumball is released moments after a user checks in to that particular Legal Sea Foods location.

“It’s one of those things where we spent way more time on it than we should have,” DeVito/Verdi’s Tyler DeAngelo tells About Foursquare.

After watching this video, though, I’d say their time spent on it was well worth it. Imagine the possibilities with check-ins and insta-rewards. Check-in to your home after a workout, and the shower automatically turns on. Check-in to your favorite bar, and you’re automatically poured a beer. Yeah, I could get down with that.

Here’s a video of the CheckNChew machine below. Who wants to venture to Kendall Square with me to test it in person? I’ll buy you a gumball.