Noncooperative dynamic games for Inventory applications: a consensus approach