I would suggest that you have a lot to research before you ask this question.
how to build a video game[
^] returns about 3.96 BILLION... yes BILLION results.
If you want to write your own video game there are many things you will have to do.
1) Learn how to write code.
2) Learn how to create computer artwork (either 2d or 3d)
3) How to architect a programmatic solution.
...
You see. This isn't a trivial task that you can ask the way you have. I get the notion from your question that you are very young and ambitious. That is a good thing.
At the end of the day, it takes years of learning for a developer to get any where near the point of being able to design and write code at any reasonable level that can be used in a real-time application like an interactive game.