A ComputerCraft Emulator for the Terminal
This version has been cursorily tested with:
Install the dependencies (I used luaenv and luarocks to do so)
Put ComputerCraft's lua files in cc
(I cloned alekso56/ComputercraftLua, you could also download the tarball or extract them (from the ComputerCraft jar) yourself).
Your directory structure should now look something like below
.
├── cc
│ ├── bios.lua
│ ├── README.md
│ ├── rom
│ └── treasure
├── cli.lua
├── emu.lua
├── LICENSE.txt
└── README.md
lua cli.lua <directory> <args>
- Start a computer in directory (args is passed to bios.lua
)
If you want to use left control you can instead press Ctrl-Shift-tilde
(this might be broken on other terminal emulators, tested on st and xterm).