Methods (Exercise) – Learn C#

This is an exercise for this YouTube video. Happy learning and good luck!     Assignment: Write a method which will add two integers together.     Click to see the answer

      Assignment: Create a method which will be able to either add or subtract two numbers.     Click to see the … Read moreMethods (Exercise) – Learn C#

#5 Make an Air Hockey Game in Unity – UI & SCORE (Code)

This post contains all the code that’s been written in this YouTube video. ScoreScript.cs

  PuckScript.cs

  PlayerMovement.cs

  AiScript.cs

 

GPG Tutorial – Save JSON to the Cloud (Code)

This post contains all the code that’s been written in the YouTube video. You can read it at your own pace, although watching the video prior to looking at this code example is recommended. JsonUtil.cs

PlayGamesScript.cs

  UIScript.cs

 

#4 Make an Air Hockey Game in Unity – ARTIFICIAL INTELLIGENCE (AI) (Code)

This post contains all the code that’s been written in this YouTube video. AiScript.cs

  Boundary.cs

 

Multidimensional & Jagged Arrays (Exercise) – Learn C#

This is an exercise for this YouTube video. Happy learning and good luck!   Assignment: Make a 2D jagged array and a 2D multidimensional array with the exact same content using a collection initializer.   Click to see the answer

    Assignment: Print out the contents of both of the arrays from the previous assignment. … Read moreMultidimensional & Jagged Arrays (Exercise) – Learn C#

#3 Make an Air Hockey Game in Unity – RESTRICTING MOVEMENT (Code)

This post contains all the code that’s been written from this YouTube video. PlayGamesScript.cs

 

Onedimensional Arrays (Exercise) – Learn C#

This is an exercise for this YouTube video. Happy learning and good luck!   Assignment: Create 2 identical arrays – one will be “filled up” manually and the other one will use the collection initializer.   Click to see the answer

 

#1 Make an Air Hockey Game in Unity (Code & Art)

This post contains the code and art from this YouTube video. Download the sprites from this link: AirHockeyArt   PlayerMovement.cs

 

Loops – For, While, Do While (Exercise) – Learn C#

This is an exercise for this YouTube video. Happy learning and good luck!   Assignment: Write code which will sum numbers from 0 to n (inclusively) where n is your made up number.   Click to see the answer