Added game winning detection