added helping methods
changed game behavior
made game runable