mingkaic1 / 112_TP_Mingkaic

0 stars 0 forks source link

To-do: Generalized number of players in PVP mode #4

Closed mingkaic1 closed 2 years ago

mingkaic1 commented 2 years ago

Instead of hardcoding for 2 player PVP, generalize code for any number of players (as long as controls can be defined on a single keyboard). Shouldn't be too hard - a lot of code is already generalized now (e.g. Round loops over .tanks, rather than just handling 2 Tank objects)

mingkaic1 commented 2 years ago

Kind of generalized now (also, shouldn't crash when player numbers exceed defined controls)