waterstockgame source code