Project

Dominoes

Medium
1096 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

Keri Southwood-Smith avatar
Keri Southwood-Smith
2 months ago
I used list manipulation (swapping items in a list around), list slicing (taking pieces of a list), dicts, enumeration and more.
Sylwia Bartman avatar
Sylwia Bartman
2 months ago
Domino rules, how to teach computer (AI algorithm), how to implement game logic
Jakub Ryśnik avatar
Jakub Ryśnik
3 months ago
Learned:- dominoe game, - to read the specs more carefully (I missed one detail in it and spend hour looking for error). Difficulties: ...

4.3

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