A Ruby based project which takes 2 separate user inputs and determines whether they are Anagrams or Antigrams.
- Click the link shown in the above photo and download the file.
- Navigate to the directory (folder) that contains your browser's downloads. Generally the downloads folder or the desktop.
- Double-click on the downloaded project folder to unzip the file.
- Open the folder and run the index.html file.
Input | Output |
---|---|
"plk","kfd" | "Type in a real words, you bozo." |
"Tango","Cash" | "This is NOT an anagram. The amount of letters don't match" |
"rat","tar" | "This is an ANAGRAM for a words!" |
"Dormitory!", "Dirty room??" | "This is an ANAGRAM for sentences!" |
"determines if two words are antigrams" | "Tank","Quiz" |
"Rat Man?","Dig?? Zip!!" | "This is an ANTIGRAM!" |
- Ruby
- Rspec
- Pry
If you have any questions about anything at all, please don't hesitate to get in touch. [email protected]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright (c) 2019 Jay Winebrenner