Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Connect 4 Game Programming Course for Unity 3D
Rating: 4.8 out of 5(23 ratings)
163 students

Connect 4 Game Programming Course for Unity 3D

Learn how to create your own 3D Connect 4 Game using the Unity Game Engine.
Created byOcto Man
Last updated 3/2022
English

What you'll learn

  • Learn how to create Connect 4 Game in Unity 3D
  • Learn to create turn based games.
  • Learn basic C#: for loops, foreach loops, int, string, float, functions, classes ...
  • Learn how to build AI in Unity using Minimax algorythm.

Course content

6 sections54 lectures8h 0m total length
  • Introduction3:48

    Learn to build a connect four game in Unity 2021 with a two-player mode, win conditions, and user interface. Explore minimax AI with alpha-beta pruning and easy to hard settings.

  • Unity Setup & Navigation5:13

    Set up a Unity 3D project for a Connect Four game, configure the game view, console, and inspector, and learn basic navigation and 1-meter unit scale for the playing field.

  • Importing 3D Models3:16

    Create a 3D models folder, import the three assets (playing field, red coin, yellow coin) to Unity, and apply textures using external materials legacy, then set up the scene.

Requirements

  • Basic knowledge in Unity and C# is a plus, but not a must have.

Description

Connect 4 is a fun game that can be played with friends, family, and classmates. It's a game of strategy and luck. In this course, we'll learn how to create Connect 4 in Unity. We'll also go a little deeper and create an AI for the player to play against. Come join me on this journey to learn Connect 4!

This course is a Beginner/Intermediate course, so if you have trouble in any case, write me a message or Q&A, and i'll help as best as i can.

If you are beginner, you might have some trouble to follow, but the videos will guide you through the complete course. Don't forget: You only become better if you repeat things and keep on learning!


Unity (2021) Course Content:

  • You will learn to create a new 3D Project in Unity and set up everything needed

  • I will show you how you to setup the playfield and create the game mechanics.

  • I will show you to interact with the game board and drop coins into it

  • We create a beautiful game menu

C#

  • We take a look into coding basics like: int, float, string, bool, for-loops, foreach-loops, 2D Array, List ...

  • We will put in functionality with scripts using Visual Studio Code and C# (you can use any other IDE)

  • Also we implement create a 1 vs 1 Player game first, so the main game is working

  • We create an AI using Minimax Algorythm with Heuristic board evaluations (Intermediate)


Course Material:

  • 3D Model Connect 4 Board

  • 2x 3D Model Coins

  • Some Checker Texture

  • Buttons and a Background 2D Sprite to create a beautiful Connect 4 Menu.

  • You have to write the code on your own, i do not provide the final scripts!

All other graphics for Menu's, Icons, Images or Buttons need to be created on your own.
All Materials i provide are for education only and should not be in your final release!

Conclusion

In the end of this course you will have a fully functional Connect 4 3D Game.

Challenge:

After you have created nice Menus, Buttons, and maybe additional content, upload the Game to any Gaming Website like: itch io, Google Playstore, Apple Store or even Windows Store or Steam.

So what are you waiting for?

Let's make your dream game a reality!!

Who this course is for:

  • Unity and C# beginners.
  • C# intermediates to learn Minimax algorythm.