I am producing a game for a hackaton community to expose more people to Ethereum and blockchain. After hacking something my hackers will get many different seed phrases (similar to one generated by metamask). They will attempt to find the correct one however how can I set up to check if seed phrase is correct without going the "hardcoded" way?
For example, does metamask have an API to input your seed phrase and check if it's correct and allow you in? Maybe web3.js can do something?
If not, is it a good solution to transform the seed phrase into the private key and attempt to log in? How could this be done?