Skip to content

Latest commit

 

History

History
77 lines (42 loc) · 2.51 KB

README.md

File metadata and controls

77 lines (42 loc) · 2.51 KB

BrainGames

CI

Brain Games This is a collection of 5 games:

  1. Brain: Even - guess even or not even number

  2. Brain: Calc - test your basic math skills

  3. Brain: GCD - find the greatest common divisor

  4. Brain: Prime - count a prime number or not

  5. Brain: Progression - write the missing number in progression

Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add brain_gemes

If bundler is not being used to manage dependencies, install the gem by executing:

$ gem install brain_gemes

or

clone this repository

$ git clone https://github.com/usernaimandrey/brain_games.git

at the root of the project

$ make build

and play games

$ barin_games -g or --game=NAME -l --language=LANGUAGE

Usage

How palay:

Options:

asciicast

Play brain even on english and russion:

asciicast

The list of available games can be viewed by calling the --rulle option

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and the created tag, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/brain_gemes. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the BrainGemes project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.