Project

Dominoes

Medium
1062 completions
~ 12 hours
4.3

Build an interactive Domino game that simulates gameplay between a human and AI, incorporating game loops and validation rules.

Provided by

JetBrains Academy JetBrains Academy

About

Have you ever wanted to code a game where the computer is your enemy? Well, this little project allows you to do just that. Take turns playing classic dominoes against your computer in a race to victory. Learn, how artificial intelligence can make use of simple statistics to make educated decisions. This project is all about basic concepts, put them to practice by making a fun little game.

Training project icon

Training project

This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.

What you'll learn

Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
A good game should have a decent interface. Create a user-friendly output section.
Bring the game to life. Allow players to take turns until the "end game" condition is met.
A game should have rules. It's time to introduce them.
Random choices are hardly a sign of intelligence. Teach your computer to make educated decisions with the help of basic statistics.

Reviews

Daniel Jessen avatar
Daniel Jessen
7 days ago
I really enjoyed this project - there are many ways to a solution and you can combine a lot from your learned topics to achieve it
Danylo Kuruch avatar
Danylo Kuruch
3 months ago
It was a big experience to check your readiness in survival of debug world... Annoying dynamic tests which mostly do not give you any hint of the issue. Just wrong... But like in the real world ;)
Tomas Kanuch avatar
Tomas Kanuch
5 months ago
I have learned working with AI, using class, using functions, lists, list comprehensions, user input validations.

4.3

Learners who completed this project within the Python Developer course rated it as follows:
Usefulness
4.5
Fun
4.3
Clarity
4.1