A Kotlin implementation of the LC-3 Virtual Machine, inspired by "Write your Own Virtual Machine" article by Justin Meiners and Ryan Pendleton.
- Write your Own Virtual Machine
- LC-3 Instruction Set
- The RawConsoleInput.java class by Christian d'Heureuse (originally found in this StackOverflow thread)
You will need Maven installed and configured onto your machine.
Cloning the repository:
- Run
git clone https://github.com/CianciuStyles/lc3-vm-kotlin.git
in the terminal
Installation:
- Run
mvn clean install
in the terminal
To run the test suite:
- Run
mvn test
in the terminal
To run lc3-vm-kotlin
:
- Run
mvn exec:java@2048
in the terminal to run 2048. - Run
mvn exec:java@hangman
in the terminal to run Hangman. - Run
mvn exec:java@rogue
in the terminal to run Rogue.