Logic #32

Merged
thorsten-rausch merged 9 commits from logic into main 2021-06-16 09:00:52 +00:00
Showing only changes of commit dd34403a3e - Show all commits

View File

@ -31,7 +31,7 @@ class Hunter {
hunt(players) { hunt(players) {
for (let i = 0; i < players.length; i++) { for (let i = 0; i < players.length; i++) {
if (players[i].position === this.position) { if (players[i].position <= this.position) {
players[i].alive = false; players[i].alive = false;
} }
} }