Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m = peripheral.wrap("top") --Screen is 29:19
- m.setTextScale(0.5)
- background = colors.black
- color = colors.lime
- function box(stX, maX, stY, maY)
- term.setBackgroundColor(color)
- for i = stY, maY do
- term.setCursorPos(stX, i)
- for j = stX, maX do
- write(" ")
- end
- end
- end
- function drawChar(char)
- if char == "A" then
- box(8, 22, 4, 5)
- box(5, 7, 6, 16)
- box(8, 22, 9, 10)
- box(23, 25, 6, 16)
- elseif char == "B" then
- elseif char == "C" then
- elseif char == "D" then
- elseif char == "E" then
- elseif char == "F" then
- elseif char == "G" then
- elseif char == "H" then
- elseif char == "I" then
- elseif char == "J" then
- elseif char == "K" then
- elseif char == "L" then
- elseif char == "M" then
- box(5, 7, 4, 16)
- box(8, 10, 7, 9)
- box(11, 13, 10, 12)
- box(14, 16, 13, 15)
- box(17, 19, 10, 12)
- box(20, 22. 7, 9)
- box(23, 25, 4, 16)
- elseif char == "N" then
- elseif char == "O" then
- elseif char == "P" then
- elseif char == "Q" then
- elseif char == "R" then
- elseif char == "S" then
- box(8, 25, 4, 5)
- box(5, 7, 6, 8)
- box(8, 22, 9, 10)
- box(23, 25, 11, 14)
- box(5, 22, 15, 16)
- elseif char == "T" then
- elseif char == "U" then
- box(5, 7, 4, 14)
- box(8, 22, 15, 16)
- box(23, 25, 4, 14)
- elseif char == "V" then
- elseif char == "W" then
- elseif char == "X" then
- elseif char == "Y" then
- elseif char == "Z" then
- elseif char == "clear" then
- end
- end
- drawChar("M")
- sleep(1)
- m.clear()
- drawChar("A")
- sleep(1)
- m.clear()
- drawChar("U")
- sleep(1)
- m.clear()
- drawChar("S")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement