Project

Bulls and Cows

Challenging
3352 completions
~ 17 hours
4.1

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.

Graduate project icon

Graduate project

This project covers the core topics of the Introduction to Java course, making it sufficiently challenging to be a proud addition to your portfolio.

At least one graduate project is required to complete the course.

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 java tools.
Make the game more difficult by improving the code generator.
Make your application more stable by handling various errors.

Reviews

曜銓 田 avatar
曜銓 田
8 hours ago
The test cases for each task are too simple and could be made much more rigorous. I think there should be more diverse and comprehensive test cases to better verify whether the code is actually correct, including edge cases and less obvious inputs. There is also one part of the randomly generated a ...
Dmitry Kabanov
1 week ago
I learned how to use HashSet to pick unique characters from a stream of random characters.
Hà Khải avatar
Hà Khải
4 weeks ago
thật sự rất hữu ích, tôi học được rất nhiều lệnh mới và áp dụng được luôn, thật sự rất tuyệt

4.1

Learners who completed this project within the Introduction to Java course rated it as follows:
Usefulness
4.2
Fun
4.0
Clarity
4.0