Example #1
0
        public static long Part2()
        {
            var cabinet = new ArcadeCabinet(GetPart2IntCode());

            cabinet.RunToCompletion();
            return(cabinet.CurrentScore);
        }
Example #2
0
        public static int Part1()
        {
            var intCode = FileReader.ReadInputLines(13).Single();
            var cabinet = new ArcadeCabinet(intCode);

            cabinet.RunToCompletion();
            return(cabinet.CountTiles(TileType.Block));
        }