Code Monkey home page Code Monkey logo

leet's Introduction

Nurun

L37'5 h4v3 50m3 fun.

If you've never heard of leet speak then shame on you! A once respected dialect on the interwebs is now used for fun by n00b and l337 alike. There are no hard rules on how to write it, but we'll keep it simple by replacing certain letters with the mapping below:

  • [a,A] -> 4
  • [e,E] -> 3
  • [i,I] -> 1
  • [o,O] -> 0
  • [s,S] -> 5
  • [t,T] -> 7

Note: [o,O] is not an owl face, it's the letter "o" and it should be replaced with a zero.

Objective

Use the apply method com.will.leet.Leet object to convert a String into l337.

Examples

  1. Let's have some fun. -> L37'5 h4v3 50m3 fun.
  2. C is for cookie, that's good enough for me -> C 15 f0r c00k13, 7h47'5 g00d 3n0ugh f0r m3
  3. By the power of Grayskull! -> By 7h3 p0w3r 0f Gr4y5kull!

Testing

For example we'll be trying to run the object using sbt 'run "You are elite!"'

leet's People

Contributors

princewill avatar

Watchers

James Cloos avatar  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.