updating the controller with some basic play logic and replacing players with an abstract class and a loose mapping with integers