Kata Library: Lua 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
8
Algebra
5
Algorithms
184
Arrays
86
Big Integers
2
Binary
12
Binary Trees
1
Bits
10
Ciphers
4
Combinatorics
6
Cryptography
2
Data Science
2
Data Structures
11
Date Time
7
Debugging
9
Discrete Mathematics
1
Dynamic Programming
3
Esoteric Languages
3
Filtering
2
Functional Programming
4
Fundamentals
317
Games
7
Geometry
14
Graph Theory
1
Interpreters
4
Iterators
1
Language Features
2
Linear Algebra
2
Lists
21
Logic
12
Mathematics
112
Matrix
5
Memoization
2
Networks
2
Number Theory
9
Object-oriented Programming
2
Parsing
3
Performance
12
Permutations
2
Probability
2
Puzzles
27
Recursion
4
Refactoring
4
Reflection
1
Regular Expressions
15
Restricted
2
Riddles
1
Searching
1
Security
1
Simulation
2
Sorting
12
State Machines
1
Statistics
1
Strings
121
Tutorials
11
Unicode
1
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
533 Kata Found
5 kyu
Count IP Addresses
31,747
xDranik
Algorithms
5 kyu
Challenge Fun #14: Target Game
490
myjinxin2015
1 Issue Reported
Algorithms
Arrays
6 kyu
Decode the Morse code
122,693
jolaf
11 Issues Reported
Algorithms
5 kyu
Lazy Repeater
8,465
nklein
1 Issue Reported
Iterators
Algorithms
5 kyu
Integers: Recreation One
27,568
g964
1 Issue Reported
Fundamentals
Algorithms
7 kyu
Blowing Birthday Candles
1,272
Mednoob
Algorithms
8 kyu
Remove First and Last Character
315,849
Steadyx
3 Issues Reported
Strings
Fundamentals
7 kyu
String Scramble
3,545
Dragoris
1 Issue Reported
Fundamentals
Strings
Arrays
8 kyu
Surface Area and Volume of a Box
33,262
KaraM
1 Issue Reported
Geometry
Fundamentals
7 kyu
Return the first M multiples of N
10,403
diophore
6 Issues Reported
Mathematics
Fundamentals
7 kyu
A Rule of Divisibility by 7
13,346
g964
1 Issue Reported
Fundamentals
6 kyu
Catalog
2,973
g964
1 Issue Reported
Fundamentals
Strings
7 kyu
Pull your words together, man!
3,427
AJFarmar
Strings
Algorithms
6 kyu
Steps in k-primes
1,010
g964
1 Issue Reported
Mathematics
Number Theory
5 kyu
Factorial decomposition
7,697
g964
1 Issue Reported
Fundamentals
7 kyu
Going to the cinema
12,794
g964
1 Issue Reported
Fundamentals
8 kyu
Sum Mixed Array
109,433
PG1
1 Issue Reported
Fundamentals
Strings
Arrays
6 kyu
Roman Numerals Decoder
51,827
jhoffner
5 Issues Reported
Algorithms
7 kyu
Minimum Percentage of Visitors that Ate All Foods
479
rowcased
6 kyu
Factorial length
1,397
KenKamau
Algorithms
5 kyu
Integer complexity
61
YurichBRO
Mathematics
Number Theory
Performance
5 kyu
Weight for weight
57,830
g964
2 Issues Reported
Algorithms
8 kyu
Convert boolean values to strings 'Yes' or 'No'.
370,460
weavermedia
2 Issues Reported
Fundamentals
7 kyu
Circle cipher
1,094
tomatosonic
1 Issue Reported
Ciphers
Algorithms
6 kyu
Persistent Bugger.
209,822
joh_pot
Fundamentals
Mathematics
5 kyu
Fibonacci Factory Function
1,216
x-way
Mathematics
Algorithms
6 kyu
What's A Name In?
4,040
crimbus
4 Issues Reported
Fundamentals
8 kyu
Grasshopper - Terminal game move function
80,554
danleavitt0
Fundamentals
8 kyu
Sum Arrays
206,197
richardhsu
4 Issues Reported
Arrays
Fundamentals
6 kyu
Shuffle an Integer
98
rowcased
Puzzles
Loading...
Confirm
Collect:
undefined
Loading collection data...