Project

Bulls and Cows (Kotlin)

Medium
165 completions
~ 16 hours
4.4

Learn how to use integer arithmetic, generate random numbers, store data in data structures, and handle errors.

Provided by

JetBrains Academy JetBrains Academy

About

Write your own advanced version of the classic code-breaking game "Bulls and Cows". Start with recreating the original version of the game and then take it to a new level.

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:
Implement the grading mechanism.
Create a simple random number generator.
Make a fully functional classic version of the game.
Rewrite the random number generator using the built-in tools.
Make the game more difficult by improving the code generator.
Make your application more stable by handling various errors.

Reviews

Aleksey Aleksukhin
10 months ago
It was fun and helped me to improve the understanding of try catch constructions.
Nikolozi Glonti avatar
Nikolozi Glonti
10 months ago
Generating random numbers, formatting stings, handling errors. Good project for basic practice.
Charles Perry avatar
Charles Perry
10 months ago
I have learned more about error handling and string manipulation.

4.4

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