Project

hangman_y

0.0
No commit activity in last 3 years
No release in over 3 years
Hangman game allows you guess the letters of a word. You have seven chances!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.10
~> 10.0
>= 0
 Project Readme

Hangman

Code Climate Build Status Coverage Status

Hangman is a paper and pencil guessing game for two or more players. One player thinks of a word, phrase or sentence and the other tries to guess it by suggesting letters or numbers, within a certain number of guesses.

Installation

Add this line to your application's Gemfile:

gem 'hangman_y'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install hangman_y

Usage

After Installation, Run the "hangman_y" gem in your Command Line Interface. Download 5desk.txt and put it in the directory of play. Enter hangman. After the welcome screen has been displayed, proceed by entering the desired option "start", "load", or "quit".

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 tags, and push the .gem file to rubygems.org.

Contributing

Hangman is currently in its first edition and is open-source. Feel free to contribute, clone or Fork

  1. Fork it by visiting - https://github.com/andela-ydaniju/hangman/fork

  2. Create your feature branch

$ git checkout -b new_feature

  1. Contribute to code

  2. Commit changes made

$ git commit -a -m 'descriptive_message_about_change'

  1. Push to branch created

$ git push origin new_feature

  1. Then, create a new Pull Request and wait

Bug reports and pull requests are welcome on GitHub at https://github.com/andela-ydaniju/hangman. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

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