Implementation of LC-3 virtual machine in R, inspired by the tutorial Write your Own Virtual Machine.
Run the program with the obj file as an argument:
$ Rscript lc3.R path/to/your_file.obj
- Play 2048
$ Rscript lc3.R obj/2048.obj
+--------------------------+
| |
| 2 |
| |
| |
| |
| |
| |
| 2 |
| |
+--------------------------+
- Play Rogue
$ Rscript lc3.R obj/rogue.obj
################## ############
################### ########
####################### #
######################## # #
###############################D
################################
################################
@ ##############################
# #############################
## ##########################
##### #########################
###### ########################
####### ######################
######### ###################
############ ## ##############
############# #############