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
312
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
13
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
517 Kata Found
6 kyu
IP Validation
43,746
wink
4 Issues Reported
Regular Expressions
Algorithms
7 kyu
Count the Ones
3,641
rodentrabies
2 Issues Reported
Binary
Algorithms
7 kyu
Dot Calculator
6,886
ryanthestupid
Strings
Fundamentals
7 kyu
Basic Math (Add or Subtract)
6,788
nza
Strings
Fundamentals
6 kyu
Generate All Chess960 Positions
61
brodiemark
Games
Strings
Sorting
5 kyu
The Midnight Escape
94
dfhwze
Algorithms
Riddles
Performance
6 kyu
Sentence Calculator
1,219
sophieeejw
Fundamentals
7 kyu
Indexed capitalization
10,601
KenKamau
5 Issues Reported
Fundamentals
4 kyu
A Simplistic TCP Finite State Machine (FSM)
7,405
oldccoder
3 Issues Reported
State Machines
Algorithms
7 kyu
Number of Decimal Digits
31,154
user8654865
2 Issues Reported
Strings
Fundamentals
5 kyu
Catch the Bus - Continuous Edition
65
uttumuttu
Mathematics
Probability
Algorithms
4 kyu
Matrix Determinant
24,398
pjfranzini
8 Issues Reported
Matrix
Linear Algebra
Mathematics
Recursion
Algorithms
5 kyu
Divide and maximize
338
AveragePythonEnjoyer
1 Issue Reported
Puzzles
Lists
Arrays
Mathematics
6 kyu
Colorful Number
966
msg7086
1 Issue Reported
Algorithms
7 kyu
Mumbling
240,452
g964
Fundamentals
Strings
Puzzles
6 kyu
Mexican Wave
74,047
adrian.eyre
3 Issues Reported
Arrays
Strings
Fundamentals
6 kyu
Hyper Sphere
2,285
CrowdHailer
Mathematics
Arrays
Fundamentals
8 kyu
Count of positives / sum of negatives
162,569
Dentzil
10 Issues Reported
Fundamentals
Arrays
Lists
8 kyu
Sort and Star
52,717
PG1
2 Issues Reported
Fundamentals
Strings
Arrays
Sorting
7 kyu
Simple Fun #176: Reverse Letter
38,399
myjinxin2015
3 Issues Reported
Fundamentals
8 kyu
Even or Odd
562,271
suuuzi
Mathematics
Fundamentals
8 kyu
Multiply
5,547,802
11 Issues Reported
Debugging
Fundamentals
6 kyu
Shuffle an Integer
79
rowcased
Puzzles
8 kyu
Sum Arrays
200,282
richardhsu
3 Issues Reported
Arrays
Fundamentals
5 kyu
Hex Dump
348
anter69
1 Issue Reported
Algorithms
6 kyu
Last non-zero digit of factorial
486
mauro-1
Mathematics
Algorithms
6 kyu
N-th Fibonacci
21,695
boatmeme
3 Issues Reported
Algorithms
5 kyu
ISBN-10 Validation
11,471
nklein
4 Issues Reported
Regular Expressions
Algorithms
6 kyu
Sum of Digits / Digital Root
289,259
user578387
3 Issues Reported
Mathematics
Algorithms
7 kyu
Calculate Julie's Age
1,981
Azeezah
Algebra
Algorithms
Loading...
Confirm
Collect:
undefined
Loading collection data...