Skip to content

mitch3lljones/odin-project-basic-ruby-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Ruby Projects from The Odin Project

Table of Contents

Caeser Cipher

Information

The caeser cipher is long used cipher in cryptography, traced by to Julius Caeser and his personal correspondance (hence the name). According to Wikipedia:

In cryptography, a Caesar cipher, also known as Caesar’s cipher, the shift cipher, Caesar’s code or Caesar shift, is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet. For example, with a left shift of 3, D would be replaced by A, E would become B, and so on.

In this project, the caeser cipher is implemented using Ruby. This project is part of The Odin Project's Ruby Programming curriculum. The project information can be found here.

Project Status

At this time, the project is finished.

Instructions

To use this program, Ruby will need to be installed. This program is build on Ruby v2.6.5p114. To check your current version:

ruby -v 

If you have a compatible version, this program can be run using this command in the directory the file is saved:

ruby caeser-cipher.rb 

This program does have user input capabilities, however they have not been completely tested.

Sub Strings

Information

This function takes a word/phrase and a dictionary of words (as an array) as inputs to the functions. The function then returns a hash with each word found from the dictionary found in the word/phrase and the number of occurences. This project is implemented using Ruby as part of The Odin Project's Ruby Programming curriculum. The project information can be found here.

Project Status

At this time, the project is finished.

Instructions

To use this program, Ruby will need to be installed. This program is build on Ruby v2.6.5p114. To check your current version:

ruby -v 

If you have a compatible version, this program can be run using this command in the directory the file is saved:

ruby sub-string.rb 

Stock Picker

Information

Project Status

At this time, the project is NOT finished.

Instructions

Bubble Sort

Information

Project Status

At this time, the project is NOT finished.

Instructions