Mô tả

This practical course aims at teaching you step by step how to create a game using C++ and Qt. C++ is a very powerful programming language very suitable for making games, whilst Qt is a very large graphical user interface (GUI) framework fully based on C++. In this course you learn how to practically use C++ to create a GUI application and you also learn how to use and get familiar with the very powerful Qt framework.

The first aim of the course is to teach you how to plan a game. Essentially, you are going to learn how to turn your game ideas into Game Requirements for your Game application. You also learn how to meticulously organise them so as to be able to implement them incrementally, in a logical manner.

Secondly, you thoroughly learn about the Qt framework. Essentially, you learn how to navigate the massive documentation of the Qt framework, in order to be able to get the functionality that you need for your Game. Additionally, you learn step by step how to create a beautiful, coherent, and interactive graphical user interface with the Qt framework.

Thirdly, you methodically learn how to implement Game Logic using C++. Essentially, you finally become able to apply the theory of C++ in an actual GUI application, in order to create a very entertaining TicTacToe Game. Quite simply, you learn how to practically use concepts like selection control structures, repetition control structures, functions, pointers, references, classes, objects, lifetime of objects, inheritance, polymorphism, etc.

Fourthly, you learn how to add Artificial Intelligence (AI) to a Game Logic. Essentially, in this course, you learn how to create AI opponents that a human player can play against. You first learn how to create a weak AI opponent that a human player can easily defeat. Then you learn, step by step, thoroughly, how a tough AI opponent can be created, how it can be made to be very smart, and therefore very hard to defeat.

Finally, you get to have a go at the TicTacToe Game by yourself. Essentially, at the end of the course, you get a couple of Assignments where your tasks are about ameliorating and extending the Game. This is a means for you to test how much you have understood from the course.

Regarding the course itself, it is structured in a way that one section builds upon the previous ones. So this is essentially to tell you that not every section adds something new in the user interface or in the game logic. The sections are all interconnected, and in order to create the TicTacToe Game exhibited in the introduction video, you will have to go through the entire course, one video after the other.

I wish you a pleasant time as you navigate through the course.


Happy learning,

Alex

Bạn sẽ học được gì

Learn step by step how to plan and create a fully-functional Game

Learn how to use C++ to create a Graphical User Interface (GUI) Application

Learn how to use the Qt framework to create a coherent user interface for a Game

Learn how to implement Game Logic with C++

Get the source code after each section and the overall source code at the end

Learn how to navigate and understand the documentation of the Qt framework

Learn how a TicTacToe Game is implemented with C++ and Qt

Learn how Artificial Intelligence (AI) can be added to the implementation of a Game

Learn how to create a cross-platform game with C++ and Qt

Yêu cầu

  • A very basic understanding of C++

Nội dung khoá học

16 sections

Course Introduction

2 lectures
Introduction
12:42
Course Structure
01:16

Project Setup

1 lectures
Project Setup
05:10

Creation of the TicTacToe Board

5 lectures
Creation of a blank Window
14:32
The Project File
03:43
Creation of the TicTacToe board
35:03
Reset of The TicTacToe Board
09:01
Source Code
00:02

Handling of Moves on the TicTacToe board

4 lectures
Creation of the Player
05:00
Determination of the Player Move
33:18
Handling of the Player Move
09:42
Source Code
00:02

Determination of a Game Session Outcome

9 lectures
Board Decoration
23:02
The Type of the Winner
04:17
Determination of the Winner - Horizontal check
38:14
Minor Code improvements
09:29
Determination of the Winner - Vetical check
16:20
Determination of the Winner - Back slash diagonal check
18:44
Determination of the Winner - Forward slash diagonal check
20:24
Determination of the game session outcome - Draw Game check
06:28
Source Code
00:02

Handling of the Win or Draw Scenario

2 lectures
Handling of the Win or Draw scenario
14:53
Source Code
00:02

Handling of the End of the Game

4 lectures
Clearing of the Game Window
20:05
Layout for announcing the game session outcome | Part 1
20:54
Layout for announcing the game session outcome | Part 2
19:22
Source Code
00:02

Handling of the Restart of the Game

2 lectures
Handling of the restart of the Game
10:06
Source Code
00:02

Game Configuration

7 lectures
Game Configuration Window in Qt Designer
18:07
Game Configuration - Mandatory Player Names
19:15
Game Configuration - Functions for player names
08:34
Game Configuration - Singleton Pattern
11:02
Game Configuration - Game Side
15:54
Game Configuration - Game Mode
11:27
Source Code
00:02

The Main Window

9 lectures
Creation of the Main Window
12:05
Promotion of Widgets and creation of Actions
16:05
Enabling of Actions - Start Game & Quit Game
30:02
Creation of TicTacToe Boards with Different Sizes
23:37
Add-on - Widget Alignment
03:46
Mechanism to ensure that the current player name is bold
17:41
Mechanism to determine the game outcome message
18:42
Bug Fixes
11:19
Source Code
00:02

The Artificial Intelligence (AI) Opponent

10 lectures
Initial AI Configuration
11:34
AI Reset Configuration
26:09
AI Setup
23:55
Easy-to-beat AI Opponent
26:56
The AI Opponent - AI Move Calculation - First Steps
19:49
AI Move Calculation - Vertical Defence
25:30
AI Move Calculation - Horizontal Defence
23:51
AI Move Calculation - Forward Slash Diagonal Defence
30:25
AI Move Calculation - Determination of the AI Defence Direction
20:42
Source Code
00:02

Game Audio Effects

2 lectures
Game Audio Effects
19:18
Source Code
00:02

Assignment - Game Extension

1 lectures
Assignment - EasyAI Mode
1 question

Bug Fixes

1 lectures
Bug Fixes
10:06

TicTacToe Game with AI - Source Code and Backlog

1 lectures
Complete Source Code
00:03

Assignment - Game Improvement

1 lectures
Amelioration of the Draw Game Functionality
1 question

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.