When I was beginning all I did was this:
var/mob/m
I did what to it? I defined it? I initiated it? But this is null. It has no path. It is wrong by itself.
So these are the ways I can think of to make this not null(what is the word I'm looking for? find a path?):
m=locate()// only locates one mob
mob/verb/test(mob/M)
m=M
m=input in view() //will this work?
for(m in list)
Any other ways to find a path for this null mob?
So if this were a 2 player board game, how would I keep track of 2 players? In my checkers game I had people join if the list is not full and have world variables be assigned to the first 2 players:
var
mob
firstplayer
f
secondplayer
s
mob/verb/join()
if(playersready.len<2)
playersready+=src
world << "[src] joined the game"
if(playersready.len==2)
world << "Game is ready"
mob/verb/start_game()
if(playersready.len==2)
f=playersready[1]
s=playersready[2]
Will this work? How else can I do this in a 2 or more board game?