diff --git a/Team.md b/Team.md index 1309ae0..8cbee57 100644 --- a/Team.md +++ b/Team.md @@ -1,3 +1,4 @@ - Nicolas Fritz, fdai7359 - Lucas Thenert, fdai7346 -- Raphael Elström, fdai7458 \ No newline at end of file +- Raphael Elström, fdai7458 +- Richard Halsall, fdai7531 \ No newline at end of file diff --git a/schlangen_und_leitern/js/playerHandling.js b/schlangen_und_leitern/js/playerHandling.js index f8b40b1..de73a77 100644 --- a/schlangen_und_leitern/js/playerHandling.js +++ b/schlangen_und_leitern/js/playerHandling.js @@ -36,9 +36,17 @@ function movePlayer(player, roll){ } //TODO Schlange oder Leiter fehlschalg. + + } + + + function resetNewOld(player){ + // setzen newPostion auf position um und neuPosition leeren + player.position = player.newPosition; + player.newPosition = 0; + console.log("current position is" + player.position); - console.log("new position" + player.newPosition); }