Enabling privacy in a gaming framework for smart electricity and water grids