RubyMARS is a tiny Redcode simulator written in Ruby by John Metcalf, which supports the extended CWS'94 Redcode standard. The non-graphic version weighs in at 105 lines of code, while the version with an SDL2 core display is 129 lines. Warriors need to be in load-file format (e.g., compiled with pmars -r 0 warrior.red). Note: ORG / END are ignored; execution begins at the START label.

Note: install the SDL2 dev files and Ruby gem to run RubyMARS GFX:

sudo apt install libsdl2-dev
gem install ruby-sdl2
RubyMARS GFX core display