I keep trying to run my program but all that comes up is a error sign that says
Error
main.lua:3: attempt to concatenate local 'name' (a nil value)
Traceback
main.lua:3: in main chunck
[C]: in function 'require'
[C]: in function 'xpcall'
io.write("Hello what is your name?")
local name = io.read()
io.write("Hello " .. name)
io.write("You are in your bedroom, there is a door to your left and a desk to your right, Do you 'look_at_desk' or 'leave_room'")
local choice = io.read()
If you don't have the console enabled you can't use io.read
That may be a problem.
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim