# Question on Javascript

**URL:** <https://forum.kirupa.com/t/question-on-javascript/296219>\
**Category:** web dev\
**Created:** [September 11, 2009, 4:03am UTC](https://forum.kirupa.com/t/question-on-javascript/296219 "2009-09-11T04:03:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wordson](https://avatars.discourse-cdn.com/v4/letter/w/9fc348/32.png) [@wordson](https://forum.kirupa.com/u/wordson)\
**Post date:** [September 11, 2009, 4:03am UTC](https://forum.kirupa.com/t/question-on-javascript/296219/1 "2009-09-11T04:03:32Z")

</div>

My friend and I are creating a text based/mud game. The player can navigate from tile to tile in the world map. Sort of like the way Outwar does it. We need to figure out a way so that if a player tries to walk to the next room, but a wall is there(or any other blocking object). How can we make it so that the program knows that they can’t move there.
