If you are new to programming, or an experienced programmer that wants to create their own game, then YoYo Games is the place to go. You can obtain via this website a program called GAMEMAKER. There are two versions of this software, one that is free and another which is the paid professional version which at the time of writing costs $25 or £15.32. To help you get started, there are a number of tutorials.
The available tutorials include topics such as what is a good game, your first game, creating a scrolling shooter, maze games, platform games, 3-dimensional games, multiplayer games, and first person shooter games.
By the time you have worked your way through the tutorials, you will be able to create your own sophisticated 2D and 3D single or multiplayer games with relative ease.
Happy Game Making:)