UoB-COMSM0110 / 2024-group-3

0 stars 2 forks source link

Add multiple food types and spawn one of each type #36

Open chriskerrc opened 8 months ago

chriskerrc commented 8 months ago

Make Food class abstract with concrete implementations apple, banana, cherry. There is one of each fruit, and the fruit are different sizes (e.g. banana is two cells) and the fruit has different effects (different number of segments added to snake, possibly other effects like speed increase). At any given time, there should be one instance of each type of fruit spawned on the map, because it's a big map.