Once a player is out after being killed, it should not be able to interact with the game for some time. This includes not eating existing food items!
Test
[x] Test is ready and on develop
// (621) A player that is out does not eat food
game g;
put_player_on_food(g.get_player(0), g.get_food()[0]);
g.kill_player(0);
g.tick();
assert(has_uneaten_food(g));
assert(!has_any_player_food_collision(g));
}
Context
Once a player is out after being killed, it should not be able to interact with the game for some time. This includes not eating existing food items!
Test