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
177
Arrays
83
Big Integers
2
Binary
11
Binary Trees
1
Bits
9
Ciphers
3
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
314
Games
7
Geometry
14
Graph Theory
1
Interpreters
4
Language Features
2
Linear Algebra
2
Lists
20
Logic
11
Mathematics
110
Matrix
5
Memoization
2
Networks
2
Number Theory
8
Object-oriented Programming
2
Parsing
3
Performance
11
Permutations
2
Probability
2
Puzzles
27
Recursion
3
Refactoring
4
Reflection
1
Regular Expressions
14
Restricted
2
Riddles
1
Searching
1
Security
1
Simulation
1
Sorting
11
State Machines
1
Statistics
1
Strings
120
Tutorials
10
Unicode
1
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
520 Kata Found
5 kyu
Advanced Pig Latin
1,135
davidbrear
Regular Expressions
Fundamentals
7 kyu
Heron's formula
9,519
wichu
Fundamentals
6 kyu
Take a Ten Minutes Walk
208,388
JKphobic
16 Issues Reported
Arrays
Fundamentals
5 kyu
Greed is Good
60,791
JulianNicholls
Algorithms
7 kyu
Minimum Percentage of Visitors that Ate All Foods
249
rowcased
6 kyu
IP Validation
43,992
wink
4 Issues Reported
Regular Expressions
Algorithms
7 kyu
Count the Ones
3,702
rodentrabies
2 Issues Reported
Binary
Algorithms
7 kyu
Dot Calculator
6,954
ryanthestupid
Strings
Fundamentals
7 kyu
Basic Math (Add or Subtract)
6,846
nza
Strings
Fundamentals
6 kyu
Generate All Chess960 Positions
65
brodiemark
Games
Strings
Sorting
5 kyu
The Midnight Escape
104
dfhwze
Algorithms
Riddles
Performance
6 kyu
Sentence Calculator
1,271
sophieeejw
Fundamentals
7 kyu
Indexed capitalization
10,649
KenKamau
5 Issues Reported
Fundamentals
4 kyu
A Simplistic TCP Finite State Machine (FSM)
7,433
oldccoder
3 Issues Reported
State Machines
Algorithms
7 kyu
Number of Decimal Digits
31,224
user8654865
2 Issues Reported
Strings
Fundamentals
5 kyu
Catch the Bus - Continuous Edition
70
uttumuttu
Mathematics
Probability
Algorithms
4 kyu
Matrix Determinant
24,450
pjfranzini
8 Issues Reported
Matrix
Linear Algebra
Mathematics
Recursion
Algorithms
5 kyu
Divide and maximize
347
AveragePythonEnjoyer
1 Issue Reported
Puzzles
Lists
Arrays
Mathematics
6 kyu
Colorful Number
977
msg7086
1 Issue Reported
Algorithms
7 kyu
Mumbling
240,705
g964
Fundamentals
Strings
Puzzles
6 kyu
Mexican Wave
74,202
adrian.eyre
3 Issues Reported
Arrays
Strings
Fundamentals
6 kyu
Hyper Sphere
2,293
CrowdHailer
Mathematics
Arrays
Fundamentals
8 kyu
Count of positives / sum of negatives
162,972
Dentzil
10 Issues Reported
Fundamentals
Arrays
Lists
8 kyu
Sort and Star
52,874
PG1
2 Issues Reported
Fundamentals
Strings
Arrays
Sorting
7 kyu
Simple Fun #176: Reverse Letter
38,450
myjinxin2015
3 Issues Reported
Fundamentals
8 kyu
Even or Odd
563,107
suuuzi
Mathematics
Fundamentals
8 kyu
Multiply
5,548,190
11 Issues Reported
Debugging
Fundamentals
6 kyu
Shuffle an Integer
80
rowcased
Puzzles
8 kyu
Sum Arrays
200,721
richardhsu
3 Issues Reported
Arrays
Fundamentals
5 kyu
Hex Dump
353
anter69
1 Issue Reported
Algorithms
Loading...
Confirm
Collect:
undefined
Loading collection data...