DEV Community

Cover image for Make a Punch Out Game in Windows Forms and C#
MOOICT
MOOICT

Posted on

Make a Punch Out Game in Windows Forms and C#

Hi, in this post lets take a look at how to make a punch out game using Windows Form and C# programming. We will be using picture boxes, timers, progress bars in windows form to make this game. Hope you enjoy this one.

Lesson Objectives –

Create a simple punch out game in visual studio using c# programming language
Using progress bars to show the health of player and opponent
Using Selection to determine the hit test between player and opponent
Using LIST to create variety of moves for the opponent which is controlled by the CPU
Using Picture Boxes and Resources to show dynamic images for the player and the opponent
Determining the who won the round and who lost the round using integers linked to the progress bars
Using Key Down and Key Up events to control the player
Enter fullscreen mode Exit fullscreen mode

Here is the youtube tutorial video

Download Punch out Game images here

There is also a written tutorial attached to the tutorial. Please find it below the images tab on the MOO ICT website.

Happy Coding.

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (0)

ITRS image

See What Users Experience in The Browser — Anywhere, Anytime

Simulate logins, checkouts, and payments on SaaS, APIs, and internal apps. Catch issues early, baseline web performance, and stay ahead of incidents. Easily record user journeys right from your browser.

Start Free Trial

AWS Security LIVE! From re:Inforce 2025

Tune into AWS Security LIVE! streaming live from the AWS re:Inforce expo floor in Philadelphia from 8:00AM ET-6:00PM ET.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️