NicCLIM alpha: Fixed peek


Peek now operates correctly on odd and even rows: Also, I had interposed x and y so it was not working anyway, but was not working in an annoyingly symmetrical way. Now working.

NIL	(A)	(B)	NIL	NIL
  (C)	  (D)	  (E)	  NIL	  NIL
NIL	(F)	(G)	(H)	NIL
  NIL	  (I)	  (J)	  NIL	  NIL
NIL	NIL	NIL	NIL	NIL

In lisp, peek is nic::adjacent-peek, the corresponding map-editor macro is com-peek.

Direction symbols are h j jh k kl l or w sw se nw ne e respectively.

If peek is the only way automata can actually see, this simplifies time propagation a lot, because one time stop only ever needs two steps (in every direction) to propagate the next time step.

Files

nicclim.lisp 41 kB
4 hours ago

Get NicCLIM - Map Editor

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.