most js done, doesn't recognize when a game is won