How to start a game with an nft authentification ?

Hello there! I want to connect with a crypto wallet where i have some nfts from a collection into the game. Like scanning a qr code and after that, if the wallet contains the nft from that specific collection the game can start. Any advices?