Skip to content

maxrightgame/java-project-61

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status Maintainability

"Mind Games" project

The "Mind Games" project is a simple terminal application which offers players one greeting option and five different games. The following commands are available:

  • Greeting: Reads player name from input and prints simple greeting.
  • Even numbers: Answer if a given number is even.
  • Calc: Calculate the result of a given mathematical expression.
  • GCD: Find the greatest common divisor (GCD) of two given numbers.
  • Progression: Find the missing number in an arithmetic progression.
  • Prime: Answer if a given number is prime.

How to compile

  1. Open app folder
  2. To build application open terminal or command window and type make build 2.1. To remove compiled files type make clean
  3. To start the application type make run-dist

How to play

  1. Type a corresponding number of the game you want to play.
  2. Follow the provided instructions.
  3. Win!

The application closes when the player wins or loses.

To exit the application, type "0" in the menu.

Screenshots of the game

image image image image image image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors