VB.Net Rock Paper Scissors Game – All 4 Lessons

This Project uses Labels, Buttons, Picture Boxes, Animated GIFs and WAV Sound files to create the Ultimate Rock Paper Scissors Game.

It is very important that you have done our previous Games Programming Lessons on "Talking Alarm Clock", "Top 5 Favourites Reveal", "Random Dice Rolling" and "Noughts and Crosses - Tic Tac Toe".

This lesson will revisit several skills learned in these Lessons, and will be difficult to do without this prior knowledge.
RPS_Slide01

 

In this VB.Net Lesson we specifically learn:

- How to work out the Algorithm for the RPS Game.
- How to divide the Game Play into Subroutines.
- How to use the VB.Net Project Resources for Program Images
- How to use Random Numbers to randomly determine Computer's Choice.
- How to make Animated GIFs display in Picture Boxes using Program Code.
- How to Play and Stop Sound Effects in VB.Net

This is a HUGE Lesson and so in the Video Timeline it is broken up into Four Separate Lessons. You will learn a lot by working through the full RPS Build.

RPS_Slide02

One very important new thing is learning how to use the VB.Net Resources Library for Image Storage, and subsequent Retrieval into Picture Boxes. 

RPS_Slide03

Before we can develop the Game into a VB.Net Application we need to fully understand the Game Play of the real world version of the Game. We then need to work out how to put the Game Process and Rules into Pseudocode that a Computer Program can work with. 

RPS_Slide04

The Step by Step Guide which is available below for this lesson, shows exactly what needs to be done.
This Guide has all of the Design Principles and Theory behind what is being done at each stage of Game Development.

Included in the Resources Download for this lesson are Visual Basic Code Listings, as well as Form Designs and Images.

If you are a Teacher or Instructor we suggest you click the DOWNLOADS link below and get the lesson materials for your students, which for this Lesson also includes BONUS Lessons on Photoshop GIFs and Audacity.

The Downloads are critically important if your school or institution blocks or discourages YouTube Videos.

The Lesson can be fully completed using the Download Guides without watching the Video.      

Give the Overview and Step by Step Guide PDFs to your students and we think you will find that some of them will "get it" very quickly.

The other students will greatly benefit from watching the video for this lesson which goes through everything in full detail slowly with step by step with repetition of examples.

Or simply use the Downloads to do your own in class Presentation and Lesson on Games Programming in VB.NET.

Because we are a slow talker, make sure students use the YouTube Player Bar Tools Cog to set the speed to 1.5x or even 1.75x.

Note that the example Lesson Images shown on this web page are basic Printscreens, whereas the actual original Images are of perfect clarity and quality in both the downloadable PDF Guide and Word Document for this lesson.

 

LESSON OVERVIEW

This lesson consists of a Video Presentation and Written Instructions where we cover the following:

- Introduction and Preview of Project
- Learning Objectives
- Game Play Analysis

LESSON 1 - BUILD GAME INTRO AND IMAGE CHOICE DISPLAYS
- Screen Form Detailed Design
- How to Load Images to VB.Net Resource Library
- How to Delete / Remove Images from Resource Lib
- Advice for Doing the 4 Lessons Build Steps
- Making the Game Opening Screen
- Player Buttons Display Rock, Paper, and Scissors
- Computer Choice via Random Numbers from 1 to 3
- Computer's Choice Display in Picture Box.

LESSON 2 - DETERMINE WINNER AND TIE GAME RESULTS
- Develop Algorithm to Determine the Winner
- Translate Algorithm into Subroutines in VB Code.

LESSON 3 - DISPLAY GAME RESULT AND UPDATE WINS LOSSES TIES
- Display the Result on Screen using Animated GIFs.
- Update and Display the Player Score Statistics.

LESSON 4 - PLAY AGAIN BUTTON AND WAV FILE SOUND EFFECTS
- Challenge Task 1 - Play Again and Exit Buttons
- Challenge Task 2 - Adding WAV File Sound EffectsVIDEO WRAP UP
- Is VB.Net Development a Waste of Time ?
- Our Website VB.Net Games Programming Course
- Video Wrap Up and Outro

Watch the following YouTube Video Tutorial about Creating the RPS Game.

USE THE YOU TUBE PLAYER TOOLS COG TO WATCH THE VIDEO AT 1.5X OR EVEN 1.75X SPEED.

 
We highly recommend you use the RESOURCE MATERIALS available below
to follow along step by step with the Tutorial Video.

The YouTube Video is free to watch as many times as you want, and the Lesson Build Guide including all required Images and full program code listing(s) are available at a small cost which can be paid for and downloaded using PayPal.

Before purchasing and downloading the following resources, check first with your Teacher or Instructor, as they may already have copies of these documents to give to you.

Our Programming Learning Modules are designed for complete beginners, and they have been extensively trialled with High School students learning Programming for the first time. They have a proven track record of being able to get everyone up and running with Microsoft Visual Basic - the world's most popular Beginner Programmer's language.

We highly recommend using the Step by Step Summary Guide as well as the other support materials to maximise learning outcomes.

Our students have found the Summary Guide to be far more useful than re-watching the Video, when it comes time for them to apply their newly acquired skills to Application Build tasks.

Prices for the Resource Package including the Guide, Images, Form Design, and full Program Code Listings are:

A Single Computer Licence for Personal Use is $AUD 2.50 (Approx $US 1.88).

A Site Licence for Business or Education Training for up to 30 people is $AUD 5.30 (Approx $US 3.97).

Licence Documentation will be included in your Downloads.

Click the appropriate PayPal Button below to be taken to PayPal's secured Gateway and complete your purchase. 

The Transaction will be labelled on your PayPal Statement as "PASSYTUTES", and upon payment completion you need to click the PayPal option to "RETURN TO SELLER'S WEBSITE".  (THIS IS VERY IMPORTANT AS SELECTING THE "RETURN TO SELLER'S WEBSITE" OPTION TAKES YOU THROUGH TO OUR SECURE DOWNLOADS PAGE.)
On the Downloads Page you will be able to easily and directly Download your purchased Digital Products.

If you experience any problems please email us immediately at:

EmailAddressV2PNG.fw

One known issue is that if you PayPal buy using Mircosoft Edge, it often displays prices with A's around them like: A$2.50A.
The Edge purchase will work okay, but it is probably best to do Pay Pal purchases using Google Chrome as your browser.

    Get Single Computer Licence Downloads

        Get 30 Computer Licence Downloads