You are updating x, and y variables but not using spofs to update the sprite's position onscreen. If you are getting a syntax error, please tell us the line number and error message.
What you want to do is use page flipping. This lets you draw lines on one page then show it all at once when you are done drawing that frame. It gets rid of the flicker that way. Attached is a small example that rotates a triangle. The gpage call is the important part.
You should always declare variables before use. You should also turn on option explicit to catch use of undeclared variables too. It catches a lot of bugs easily. Do you not use DIM for some reason?
If I remember, it was about $10. If you want to make an rpg, I would recommend something like an rpg maker instead unless you already know how to program in basic already. Otherwise you have a long learning curve ahead, and should aim for a game like tic tac toe or pong first.
it is used to read text from the command line, and save it to a variable. from there you can parse it and respond appropriately. If you are reading a whole line of text look up line input instead. A small bit of sample code is in the attached screen shot.
for each ray find the closest intersecting solid block, and what pixel column it intersect's with. then draw the column of pixels for that block scaled bigger or smaller based on distance. For now just colo the ceiling and floor a solid color. All this gets slow very quickly. I am sure there are plenty of c code tutorials around the internet. May be old dos code, beware.
You may want to go look up ti85calc's spooky maze on smilebasicsource. If I remember the game has a raycasting library. But basically you would have a map array with block codes. you would also have an x, y position and rotation of the character, and a way to map that to your block array. Using trig send out virtual rays from angle - field of view to angle plus field of view. You find intersecting
So, are you just trying to read a full line of text? If so you will want to look at linput.
example: linput s$
Of course breakimg that up into individual words would be your job. In your case you probably want to break things up when you switch between alphabetic characters and white space (spaces, tab, return, etc.). Translation is another can of worms, search/replace isn't enough. Good luck.