Skip to content

Latest commit

 

History

History
55 lines (46 loc) · 1.12 KB

README.md

File metadata and controls

55 lines (46 loc) · 1.12 KB

LC3

A Haskell implementation of the LC3 virtual machine

Play 2048!

$ nix-build
$ ./result/bin/LC3 ./2048.obj

Result

+--------------------------+
|                          |
|   16    4     4          |
|                          |
|   2     2                |
|                          |
|               2          |
|                          |
|                          |
|                          |
+--------------------------+

Play Rogue!

$ nix-build
$ ./result/bin/LC3 ./rogue.obj

Result

##################  ############
###################     ########
#######################        #
########################  #  #
###############################D
################################
################################
  ##############################
#  #############################
## @  ##########################
#####  #########################
######  ########################
#######   ######################
#########    ###################
############  ##  ##############
#############      #############