Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local wordle = {
- [1] = {256,256,256,16,256},
- [2] = {256,256,16,16,256},
- [3] = {256,16,16,256,256},
- [4] = {8192,256,256,256,8192},
- [5] = {8192,8192,8192,8192,8192},
- [6] = {}
- }
- local player = "Chopstyix"
- local char = "\127"
- local char2 = "\143"
- local attempt = 5
- local printer = peripheral.wrap("right")
- --# Functions
- -- 25
- if printer.newPage() then
- --printer.setCursorPos(9,1)
- printer.setCursorPos(1,2)
- printer.write(player)
- printer.setCursorPos(1,3)
- printer.write("Wordle #69")
- for i,v in ipairs(wordle) do
- if i <= attempt then
- printer.setCursorPos(9,8+i)
- printer.write(char2.." "..char2.." "..char2.." "..char2.." "..char2)
- end
- end
- --printer.write(char2.." "..char2.." "..char2.." "..char2.." "..char2)
- printer.setPageTitle("Wordle #69")
- printer.endPage()
- else
- error("Cannot be created")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement