From c64f15dad488c407c4e576d4cf1540c783ff922f Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Sat, 31 Oct 2015 16:59:28 +0300 Subject: [PATCH] =?UTF-8?q?=D1=84=D1=83=D0=B0=D1=84=D1=83=D0=B0=D1=84?= =?UTF-8?q?=D1=83=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Applications/Matrix/Matrix.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Applications/Matrix/Matrix.lua b/Applications/Matrix/Matrix.lua index 23f0ae0b..ffa2109c 100644 --- a/Applications/Matrix/Matrix.lua +++ b/Applications/Matrix/Matrix.lua @@ -3,6 +3,7 @@ local event = require("event") local gpu = require("component").gpu if not _G.buffer then _G.buffer = require("doubleBuffering") end +local ecs = require("ECSAPI") local xOld, yOld = gpu.getResolution() local xSize, ySize = 80, 25 @@ -17,7 +18,7 @@ local lines = { {x = 2, y = 3}, } -local chars = { "%", "!", "@", "#", ":", "<", ">", "&", "?", "~", "/", "+", "=", "-", "*"} +local chars = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "%", "!", "@", "#", ":", "<", ">", "&", "?", "~", "/", "+", "=", "-", "*"} local function generateLines() for i = 1, countOfLinesToGenerate do