Added the -t option to the repl

This commit is contained in:
2023-02-11 14:51:19 +00:00
parent 5343e1054d
commit 77a128e0f7
4 changed files with 43 additions and 12 deletions

View File

@@ -22,8 +22,8 @@ var tileset: [int: string] const = [
];
//variables
var posX: int = 5;
var posY: int = 5;
var posX: int = 4;
var posY: int = 4;
//functions
fn draw() {
@@ -59,3 +59,5 @@ fn move(xrel: int, yrel: int) {
draw();
}
//initial display
move(0, 0);