add win condition
add analytics