1)You should write a php script that can check the wallets balance from a database you have written, and run a cronjob every 5 minutes.
2)Your database should include the users ID and the Address used for depositing funds.
3)Your code should read this value and display it to your user.
4)Your game should deduct the "gamecost" from the user balance and update it.
// get user balance
if (empty($user_balances[$user_id])) {
$bal_info = User::getBalance($user_id,$wallet['eth']);
$user_balances[$user_id] = $bal_info['balance'];
}
I am available for hire you can visit www.bitify.co.za for more information. My entire platform works with user balances, and assuming by your question you should not be dealing with other users funds if you don't know the basics about crypto-currencies / programming.