view code/test.lm @ 23:5ded24518dc5

Add library functions from mike00.lm to dotScanner.lm. Add some code to process map state into a "grid" structure and make a version for visited state.
author Michael Pavone <pavone@retrodev.com>
date Fri, 25 Jul 2014 22:37:53 -0700
parents 494ef2e3a756
children
line wrap: on
line source

#{
	step <- :myState :world {
		foo <- 1234
		if: (isInteger?: 1 | [(2 + 32 * 8) 3 4]) {
			myState <- 42
		} else: {
			myState <- 24
		}
		#[myState 1]
	}
	
	main <- :initWorld mystery{
		#[0 step]
	}
}