check win and add piece update model. Working game in shotgun.

Code functioning in shotgun