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
2
Algebra
3
Algorithms
181
Arrays
23
Big Integers
2
Binary
6
Binary Trees
1
Bits
7
Ciphers
1
Combinatorics
2
Cryptography
1
Data Structures
7
Date Time
4
Dynamic Programming
2
Esoteric Languages
3
Functional Programming
2
Fundamentals
35
Games
2
Geometry
4
Interpreters
4
Linear Algebra
1
Lists
6
Logic
7
Mathematics
49
Matrix
4
Memoization
1
Networks
2
Number Theory
3
Parsing
1
Performance
7
Permutations
2
Probability
1
Puzzles
2
Recursion
2
Regular Expressions
8
Riddles
1
Security
1
Simulation
2
Sorting
5
State Machines
1
Strings
31
Tutorials
5
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
181 Kata Found
5 kyu
Fibonacci Factory Function
1,050
x-way
Mathematics
Algorithms
6 kyu
Message Validator
4,122
frkn2076
5 Issues Reported
Algorithms
4 kyu
Decode the Morse code, advanced
15,609
jolaf
10 Issues Reported
Algorithms
7 kyu
Interlocking Binary Pairs
3,581
rowcased
Binary
Bits
Algorithms
8 kyu
What is between?
76,159
sgwozdz
Fundamentals
Algorithms
8 kyu
Count the Monkeys!
74,131
PG1
1 Issue Reported
Arrays
Fundamentals
Lists
Algorithms
8 kyu
Reversed Words
89,003
jhoffner
2 Issues Reported
Strings
Algorithms
7 kyu
Delta Bits
3,753
ykagan
1 Issue Reported
Bits
Binary
Algorithms
6 kyu
Esolang Interpreters #1 - Introduction to Esolangs and My First Interpreter (MiniStringFuck)
7,098
donaldsebleung
8 Issues Reported
Interpreters
Esoteric Languages
Algorithms
Tutorials
8 kyu
Keep Hydrated!
235,321
paulrichard
1 Issue Reported
Algorithms
Mathematics
Fundamentals
3 kyu
Prime Streaming (PG-13)
5,201
jcsahnwaldt
4 Issues Reported
Algorithms
4 kyu
Adding Big Numbers
34,471
Becojo
4 Issues Reported
Mathematics
Big Integers
Algorithms
7 kyu
Count the Ones
3,975
rodentrabies
3 Issues Reported
Binary
Algorithms
7 kyu
Calculate Julie's Age
2,156
Azeezah
Algebra
Algorithms
5 kyu
Weight for weight
57,347
g964
2 Issues Reported
Algorithms
6 kyu
Hidden "Cubic" numbers
3,267
g964
3 Issues Reported
Algorithms
Strings
7 kyu
Check whether a number is valid in a given numeral system
1,180
SummerTheCoder
Algorithms
Logic
Regular Expressions
6 kyu
Bit Counting
256,580
xcthulhu
1 Issue Reported
Bits
Algorithms
5 kyu
That's So Meta (Table) #1: Evil Meta
16
kemptosa
Algorithms
6 kyu
The Flying Deuces
83
dfhwze
Algorithms
Simulation
5 kyu
Greed is Good
61,411
JulianNicholls
Algorithms
6 kyu
IP Validation
44,383
wink
4 Issues Reported
Regular Expressions
Algorithms
5 kyu
The Midnight Escape
121
dfhwze
Algorithms
Riddles
Performance
4 kyu
A Simplistic TCP Finite State Machine (FSM)
7,508
oldccoder
3 Issues Reported
State Machines
Algorithms
5 kyu
Catch the Bus - Continuous Edition
78
uttumuttu
Mathematics
Probability
Algorithms
4 kyu
Matrix Determinant
24,668
pjfranzini
8 Issues Reported
Matrix
Linear Algebra
Mathematics
Recursion
Algorithms
6 kyu
Colorful Number
1,001
msg7086
1 Issue Reported
Algorithms
5 kyu
Hex Dump
362
anter69
1 Issue Reported
Algorithms
6 kyu
Last non-zero digit of factorial
489
mauro-1
Mathematics
Algorithms
6 kyu
N-th Fibonacci
21,805
boatmeme
3 Issues Reported
Algorithms
Loading...
Confirm
Collect:
undefined
Loading collection data...