Exactly! That's right! This usage likely refers to the triumphant shout of "Bingo!" that occurs when someone wins the game of Bingo. Bingo! You solved the mystery! Bingo—that's it! He's been lying to us the whole time!
exclam. Yes!; That’s right! (From the game Bingo.) Bingo! I’ve got the answer!