Added server-sided game winning functionality