Implemented basic game methods an main method.