package Decider.Beans;

import Decider.Models.BinaryDecider;
import Decider.Models.Decider;

import javax.ejb.Singleton;
import javax.ejb.Startup;

@Singleton
@Startup
public class PlayerTwo
{
	private Decider decider = new BinaryDecider(10);

	public boolean go(boolean input, int previousScore)
	{
		return decider.decide(input, previousScore);
	}
}
