Skip to content

ribkavmore/java-project-61

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brain Games CLI Utility

Tests and linter status

Java CI Maintainability

Description

This application contains five mini games:

  • "Parity check"
  • "Calculator"
  • "Greatest common divisor"
  • "Arithmetic Progression"
  • "Is it a prime number?"

How to play

To run the game, the user needs to execute the command make run-dist from the root directory app/. Then the user needs to enter the game number and their name. After the welcome message the user will be able to read the rules of the selected game. Each game has three rounds. The user must give the correct answer to three questions in a row. After a successful game, the terminal displays a message with congratulations and the game ends. If the user enters an incorrect answer, the game ends.

To see more about gameplay go to asciinemas.

Asciinema for game: Even

asciicast

Asciinema for game: Calc

asciicast

Asciinema for game: GCD

asciicast

Asciinema for game: Progression

asciicast

Asciinema for game: Prime

asciicast

Requirements

  • JDK 17
  • Gradle 7.4
  • GNU Make

Technology stack

Java, Gradle, GNU Make, Checkstyle, Code Climate.

Setup

make setup

Build

make build

Run

cd app
make run-dist

About

CLI utility for gaming with arithmetic operations

Resources

Stars

Watchers

Forks

Packages

No packages published