Solve AOC day 11 pt 1

This commit is contained in:
2020-12-13 16:48:05 -07:00
parent e9f7fe465f
commit 2c155df033
7 changed files with 186 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
package year2020;
import kiss.Prelude;
import kiss.EmbeddedScript;
import haxe.Constraints;
typedef FerrySquare = (Array<FerrySquare>, SeatsChanged) -> FerrySquare;
typedef SeatsChanged = {
changed:Bool
};
@:build(kiss.EmbeddedScript.build("src/year2020/FerrySimDSL.kiss", "src/year2020/inputs/day11-example.txt"))
class FerrySimExample extends EmbeddedScript {}
@:build(kiss.EmbeddedScript.build("src/year2020/FerrySimDSL.kiss", "src/year2020/inputs/day11.txt"))
class FerrySimReal extends EmbeddedScript {}