Git Product home page Git Product logo

anagrams-antigrams's Introduction

Anagrams and Antigrams

November 16th, 2018

Contributors

By Paige Williams

Description

This is an exercise in creating custom classes and methods in Ruby. The goal is to write an algorithm that follows the following rules.

  1. Check if two words are anagrams.
  2. Account for the possibility that words may have different cases, but should still be anagrams.
  3. Check if input is an actual word. In this exercise words must contain a vowel.
  4. If phrases are not anagrams, the method should check if they are antigrams. An antigram is a word that does not contain any of the letters another word contains.
  5. Account for multiple words being anagrams or antigrams.

Specs

View specs here.

Objectives

  • Code uses a custom class and instance variables.
  • Specs have complete coverage for the behaviors that need to be tested. There should be at least 5 unit tests.
  • All specs are passing.
  • Logic is easy to understand.
  • Code has proper indentation and spacing.
  • Variable names are descriptive.
  • Thorough Git documentation is present (regular commits with clear messages completing the sentence "This commit will..." and a complete README). There should be at least 11 commits.
  • Required functionality is in place by the 5:00pm Friday deadline.
  • Project is in a polished, portfolio-quality state.
  • Project demonstrates understanding of this week's concepts. If prompted, you can discuss your code with an instructor using the correct terminology.

Setup and Installation

Support and Contact Details

If you have any issues or questions, please email me at [email protected]

Technologies used

  1. Ruby 2.5.1
  2. Command Line
  3. GitHub

Known Bugs

No known bugs.

Legal

Copyright (c) 2018 Paige Williams

Licensed under the MIT License

anagrams-antigrams's People

Contributors

paigewilliams avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.