Need a game for healthy eating

I know I should eat healthy and all that. I have even read books and articles on what to eat, when to eat and how much to eat. Still I find myself having a late night snack of pop and a brownie, and not just here or there but far more then I should. What I need is a game, something tied to my social media accounts or that links to other people so that I rank among others. Then I could push myself to behave to just beat out the next guy or to get the top spot. There are a few things out there along those lines, but nothing that quite works for me. I need one that tracks what I eat as well as what I weigh. I am sure it is coming soon to a computer or gaming station near you….