Hello, I want to create small 2D game(only console).I have done movement and map.But I want to control movemet, example:
There is a small part of map:
# @ #
I am @(I control it) and I want that I cann't go to the position where is #.
I have done a function which control movement but this function dosn't work correctly.
Sometimes I can go to the position where is # and sometimes can't. And this function not allow to go where should be a white mark.
There is a Microsoft project + source codes:
Thanks for help!