Kata Library: Ruby Practice
Sign Up
Time to claim your honor
Training
Practice
Complete challenging
Kata
to earn honor and ranks. Re-train to hone technique
Freestyle Sparring
Take turns remixing and refactoring others code through
Kumite
Community
Leaderboards
Achieve honor and move up the global leaderboards
Chat
Join our
Discord
server and chat with your fellow code warriors
Discussions
View our
Github Discussions
board to discuss general Codewars topics
About
Docs
Learn about all of the different aspects of Codewars
Blog
Read the latest news from Codewars and the community
Log In
Sign Up
Library
Collections
Newest
Oldest
Popularity
Positive Feedback
Most Completed
Least Completed
Hardest
Easiest
Name
Relevance
Low Satisfaction
All
My Languages
Agda (Beta)
BF (Beta)
C
CFML (Beta)
Clojure
COBOL (Beta)
CoffeeScript
CommonLisp (Beta)
Coq
C++
Crystal
C#
D (Beta)
Dart
Elixir
Elm (Beta)
Erlang (Beta)
Factor (Beta)
Forth (Beta)
Fortran (Beta)
F#
Go
Groovy
Haskell
Haxe (Beta)
Idris (Beta)
Java
JavaScript
Julia (Beta)
Kotlin
λ Calculus (Beta)
Lean
Lua
NASM
Nim (Beta)
Objective-C (Beta)
OCaml (Beta)
Pascal (Beta)
Perl (Beta)
PHP
PowerShell (Beta)
Prolog (Beta)
PureScript (Beta)
Python
R (Beta)
Racket
Raku (Beta)
Reason (Beta)
RISC-V (Beta)
Ruby
Rust
Scala
Shell
Solidity (Beta)
SQL
Swift
TypeScript
VB (Beta)
Approved & Beta
Approved
Beta
All
Kata I have not trained on
Kata I have not completed
Kata I have completed
8 kyu
easiest
7 kyu
6 kyu
5 kyu
4 kyu
3 kyu
2 kyu
1 kyu
hardest
ASCII Art
1
Algorithms
7
Arrays
9
Data Science
1
Design Patterns
1
Fundamentals
22
Games
22
Geometry
1
Logic
1
Mathematics
3
Object-oriented Programming
1
Puzzles
3
Regular Expressions
1
Sorting
1
Strings
1
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
22 Kata Found
7 kyu
Tetris Series #1 — Scoring System
1,926
Etoneja
1 Issue Reported
Fundamentals
Games
Algorithms
Arrays
5 kyu
Snakes and Ladders
7,379
adrian.eyre
Design Patterns
Games
Fundamentals
5 kyu
Hungry Hippos
535
adrian.eyre
3 Issues Reported
Games
Arrays
Fundamentals
5 kyu
Car Park Escape
1,705
adrian.eyre
Arrays
Games
Fundamentals
7 kyu
Drawing a Cross!
991
jriall
1 Issue Reported
Fundamentals
Algorithms
Games
ASCII Art
6 kyu
Oracle: Coin Method
258
Aquila
Algorithms
Arrays
Sorting
Games
Fundamentals
6 kyu
Fuel usage reporting
238
ragtimesp
Fundamentals
Games
Puzzles
6 kyu
Card Games: Black Jack
298
EricRamirezS
1 Issue Reported
Games
Fundamentals
Algorithms
6 kyu
Pong! [Basics]
1,373
KDaryl
2 Issues Reported
Fundamentals
Games
Algorithms
Object-oriented Programming
6 kyu
Fruit Machine
3,365
adrian.eyre
1 Issue Reported
Arrays
Games
Fundamentals
6 kyu
Shortest steps to a number
4,057
bdowds
1 Issue Reported
Puzzles
Mathematics
Fundamentals
Games
8 kyu
Collinearity
10,603
CatPlusPlus
Fundamentals
Geometry
Mathematics
Data Science
Games
6 kyu
Regex Tic Tac Toe Win Checker
1,270
tachyonlabs
Games
Regular Expressions
Fundamentals
6 kyu
Prime ant
380
kodejuice
Mathematics
Logic
Arrays
Games
Fundamentals
7 kyu
Bingo ( Or Not )
6,595
julesnuggy
2 Issues Reported
Games
Arrays
Fundamentals
7 kyu
Is this a valid Chess960 position?
687
LegendaryFartMaster
Fundamentals
Algorithms
Games
Strings
7 kyu
Will you survive the zombie onslaught?
2,294
Captain_Howdy
Games
Fundamentals
6 kyu
Magic The Gathering #1: Creatures
646
NateBrady23
1 Issue Reported
Algorithms
Fundamentals
Arrays
Games
7 kyu
Pirate Code
802
Parix
1 Issue Reported
Puzzles
Games
Fundamentals
Arrays
6 kyu
Megamind
117
sazzadshopno
Fundamentals
Games
6 kyu
Lemmings Battle!
270
sazzadshopno
Fundamentals
Games
6 kyu
Guess Who?
395
adrian.eyre
Games
Fundamentals
Confirm
Collect:
undefined
Loading collection data...