Skip to content

DashProsh/java-project-61

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

Code Quality Badges

Maintainability Test Coverage

Build Status

Actions Status

В данном проекте реализовано 5 игр. 
Для начала игроку предлагается меню, где можно выбрать игру. 
После выбора игры предлагается написать свое имя и программа здоровается. 
Далее релизуется выбранная игра. 
Каждая игра имет 3 раунда, в том случае, если игрок отвечает верно. Если игрок отвечает хотя бы один раз неправильно, игра завершается. 

* Игра №2 Четное/нечетное 

Игроку предоставляется рандомное число. Игрок должен дать верный ответ: "да" или "нет", в зависимостри от того четное число или не четное.  

* Игра №3 Калькулятор 

Игроку предоставляется рандомное математическое выражение. Игрок должен посчитать результат выражения и написать ответ. 

* Игра №4 НОД

Игроку предоставляется 2 рандомных числа. Игрок должен вычислить наибольший общий делитель для данных двух чисел и написать ответ. 

* Игра №5 Прогрессия 

Игроку предоставляется рандомная прогрессия чисел с одним пропущенным числом. Игрок должен написать в ответ пропущенное число в прогрессии. 

* Игра №6 Простое ли число

Игроку предоставляется рандомное число. Игрок должен дать верный ответ: "да" или "нет", в зависимостри от того простое число или нет.

eng

In this project were implemented 5 games. 
To start, the player is presented with a menu where they can choose a game. 
After choosing the game, you are asked to write your name and the program is greeted. 
The selected game is then released. 
Each game has 3 rounds, if the player answers correctly. If the player answers wrong even once, the game ends. 

* Game №2 Even

The player is given a random number. The player must give the correct answer: "yes" or "no", depending on that even number or not even.  

* Game №3 Calculator 

The player is given a random mathematical expression. The player must calculate the result of the expression and write the answer. 

* Game №4 GCD

The player is given 2 random numbers. The player must calculate the largest common divisor for these two numbers and write the answer. 

* Game №5 Progression 

The player is given a randomized progression of numbers with one number missed. The player must write back the number missed in the progression. 

* Game №6 Whether the number is simple

The player is given a random number. The player must give the correct answer: "yes" or "no", depending on whether the number is prime or not.

games

Game №2 Even

asciicast

Game №3 Calculator

asciicast

Game №4 Gcd

asciicast

Game №5 Progression

asciicast

Game №6 Prime

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published