Last active
August 29, 2015 14:04
-
-
Save shotarok/e08ddeba8c584507af07 to your computer and use it in GitHub Desktop.
SampleAI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LDC 0 ;; initial AI state | |
LDF 4 ;; Step Function | |
CONS ;; (init state, step func) | |
RTN | |
LDC 0 ;; Current AI state | |
LDC 1 :: AI direction move {0: up, 1: right, 2: down, 3: left} | |
CONS ;; (current state, move) | |
RTN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
labeled version: