After learning the basics of C++, it’s a great idea to complete at least one hands-on project where you can build something from scratch using C++. This course offers the opportunity to build the basic but classic Tic-Tac-Toe game, command-line style.
You’ll begin the course by looking at the end product and then building the game step-by-step, adding one tiny feature in each lesson. This way, you’ll add one or two helper functions to the codebase and then test them individually in the main controller function. Because of this modular approach, you’ll finish coding the game efficiently and professionally.
By the end of the course, you’ll have one complete hands-on project in C++ added to your profile.
After learning the basics of C++, it’s a great idea to complete at least one hands-on project where you can build something from...Show More
WHAT YOU'LL LEARN
Hands-on experience building a game using C++
An understanding of procedural programming and its application to game development
The ability to write modular code in C++ for problem-solving
Hands-on experience building a game using C++
Show more
Content
IntroductionProgram ModulesInitialize the BoardSelect the ModeDisplay the BoardMove ModulesThe User MoveSwitch PlayersThe Computer MoveUpdate the BoardTermination ModulesMain Loop ModulesCheck for a TieWin ModulesCheck Diagonals for a WinCheck Lines for the WinJoining the DotsComplete CodeNext StepsCongratulations!
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Developed by MAANG Engineers
Trusted by 2.8 million developers working at companies
"These are high-quality courses. Trust me. I own around 10 and the price is worth it for the content quality. EducativeInc came at the right time in my career. I'm understanding topics better than with any book or online video tutorial I've done. Truly made for developers. Thanks"
Anthony Walker
@_webarchitect_
"Just finished my first full #ML course: Machine learning for Software Engineers from Educative, Inc. ... Highly recommend!"
Evan Dunbar
ML Engineer
"You guys are the gold standard of crash-courses... Narrow enough that it doesn't need years of study or a full blown book to get the gist, but broad enough that an afternoon of Googling doesn't cut it."
Software Developer
Carlos Matias La Borde
"I spend my days and nights on Educative. It is indispensable. It is such a unique and reader-friendly site"
Souvik Kundu
Front-end Developer
"Your courses are simply awesome, the depth they go into and the breadth of coverage is so good that I don't have to refer to 10 different websites looking for interview topics and content."
Vinay Krishnaiah
Software Developer
Hands-on Learning Powered by AI
See how Educative uses AI to make your learning more immersive than ever before.
AI Prompt
Code Feedback
Explain with AI
AI Code Mentor
Free Resources