Skip to content

eirinikos/ruby-bites

Repository files navigation

###Greetings! This repo houses several stand-alone programs that are written in Ruby - mostly to solve various small programming challenges. Since I'm a relatively new programmer, this helps me review and practice using methods available to specific classes - e.g., the Date and Prime classes, not to mention the all-important Array and String classes.

I've realized (belatedly) that some of my earlier solutions might not be very user-readable, or that they might benefit from some light commenting. I'm keeping this in mind as I forge ahead...

####tictactoe.rb Run ruby tictactoe.rb from your command line to enjoy a game of Tic-Tac-Toe.

Play against another human or play against an arrogant computer adversary; play on a conventional 3x3 board or play on a 4x4 board.

N.B. This game is undergoing an overhaul while I read Sandi Metz's POODR. Its new incarnation lives in a separate repo - follow-along here!

####_codewars.rb This contains most of my recent solutions for Codewars katas. (My user profile is here.) Some of the solutions have been refactored (after examining other Codewars users' solutions), while others have been left as-is (i.e., written at a low-level).

####_project_euler.rb This comprises my wee collection of Project Euler solutions.

####_reddit_dailyprogrammer.rb This comprises a new collection of solutions for challenges hosted here.

####number_guess.rb Run ruby number_guess.rb to see what this one does (or, just read the comments).

####cracklepop.rb Run ruby cracklepop.rb to see what this one does (or, just read the comments).

About

bite-sized programming challenges, solved in Ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages