Skip to content

A program that will show you if a word or phrase is a anagram.

Notifications You must be signed in to change notification settings

jonstump/anagramsandantigrams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anagrams and Antigrams Tdd

By: Jon Stump*


Description

This is an applications to check if words entered by a user are an anagram or antigrams of each other.

For the purpose of this project antigrams are being defined as words that do not contain the same letters.


Technologies used

  • Ruby
  • Rspec
  • Pry
  • C8H10N4O2

Specs

Initial Specs:

Behavior Input Output
Should check if both words are in fact words trk , brk trk and brk are not, or do not include, words.
Check if two words are anagrams of each other ruby bury ruby and bury are anagrams.
Should check if words are antigrams if they are not anagrams hi bye hi and bye are antigrams.
Should account for multiple words in the phrase being anagrams or antigrams Debit Car. Bad Credit Debit Card. and Bad Credit are anagrams.
Should account for cases of entries Eat Tea Eat and Tea are anagrams.

Installation :

  • Copy the HTTPS code by clicking the clipboard next to the link.

  • Within your Bash terminal navigate to your desired location by using cd fallowed by your desired directory.

 cd Desktop
  • Once you have chosen your desired directory use the command.
git clone https://github.com/jonstump/anagramsandantigrams
Note : If you have any problems make sure your HTTPS code is correct! The example above might not be the most recent HTTPS code!
  • Now that the project is downloaded you will need to run the command 'bundle install' to install all of the gems from the Gemfile.
bundle install
  • In oder to run the tests enter 'rspec' into your terminal.
bundle install
  • If you would like to see the code use the command "editor ." (where editor is your code editor. example code for VScode and vim for Vim) to open the project in your code editor.
code .

Addition comments:


License

GPLv3
Jon Stump © 2021


Contact Information

Jon Stump: Email

About

A program that will show you if a word or phrase is a anagram.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages