Moving array of characters

Hi
}
Last edited on
1
2
3
4
5
6
int player_position = 0;
int new_position = player_position + rollDie(42);

map[player_position] = empty;
map[new_position] = Player;
player_position = new_position;
@ne555 hi thank you for answering me, but do I use it inside ->

while (move != '1');
for (int x = 0; x < 28; x++)
{
cout << map[x];
}

or before that
move the player before printing the map
Topic archived. No new replies allowed.