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
// This class does something with the board. I don't completely understand it, our teacher wrote it | |
package ui; | |
import centipede.Main; | |
import java.awt.event.KeyEvent; | |
import java.awt.event.KeyListener; | |
import javax.swing.JFrame; | |
import javax.swing.JTextArea; |
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
-- file: QuickPiet.hs | |
-- An implementation of QuickPiet by Ben Lee | |
-- based on the Piet language by ??? | |
-- I haven't tested this code, but if you'd like to, then the following will get you on your way: | |
-- $ ghc --make QuickPiet.hs | |
-- $ ./QuickPiet filename | |
-- where filename is some script file you want to run | |
-- Good Luck! |