C# Tutorial – Create a Football Penalty Kick Game in Visual Studio with Win Forms

Welcome to this Football Penalty Kick Game tutorial. This is the improved version of the existing game and we will be making the similar game as we have before. We fixed some of the syntax’s and made it easier with the full video tutorial for this game. You can check out the other football penalty shootout game.

In this tutorial we will create a football penalty shootout game in visual studio using c# programming language. In this game you are able to click on a selective targets around the goal post and as you select one it will shoot the football towards it. The goal keeper has its own independent movements and he can block your goals from being made. The overall structure of the game is simple and easy to understand.  We are creating this tutorial in Visual Studio 2017 using the Windows Form application and C# programming language. Make sure you download the game assets from the link in this tutorial page to follow along.

Lesson Objectives –

  1. Create a football penalty shootout game in visual studio using c#
  2. Create click events using picture boxes
  3. Create goal keeper movements using lists and strings
  4. Using a timer object to animate the ball and the goal keeper
  5. Using image sprites and changing the goal keepers state within the game
  6. Using various data types such as Integers, Booleans, Strings and List to make the game work
  7. Using windows form components such as Picture Boxes, Timers and Labels to complete the game



Download the images for this penalty kick game here.


Full Source Code for the Football Penalty Kick Game –

Please make sure you follow the video tutorial fully in order to achieve the final result. The best way to learn the code is rewrite the code yourself this way you can double check the syntax and also see how they relate to the overall program.



Comment on this tutorial and let us know how you got on -