i have a lot of questions
Hi and welcome to the community,
there's no simple answer or a "ready to run example". At least you will need
- a hosted server with MySQL and PHP (take a look at the examples here how to communicate with a server using OKHttpUtils. You can use RDC, too but I prefer PHP/MySQL)
- on that server you will store the questions for the game, results, users, etc. in a database (see my examples)
- do a register/login on your own (or use Google authentification, see the examples here, too)
- load the questions and other data from the server
- store the results
It's a big project for a beginner. I recommend you to do some smaller projects at the beginning to see how apps are made (with some simple Activities and Services).
A very useful documentation ist here:
https://www.b4x.com/android/forum/threads/b4a-beginners-guide.9578/#content
Take care that you ask specific questions here in the forum like "how can I store data in a database on a server".