PROJECT DOSSIER // [HANGMAN IN RUBY]VIEW SOURCEBACK TO PROJECTS →

01 // PROJECT AT A GLANCE

HANGMAN IN RUBY

Ruby

The same hangman, rewritten in Ruby: comparison is the point.

An exact port of the Java hangman into another language, with the same images and the same behaviour. The approach is deliberately comparative: by keeping the problem identical, everything that differs in the code reveals a difference of language or library, not a difference of subject.

Hangman in Ruby with the Gosu game library, a virtual keyboard built from a data structure and the word read from the same configuration file.

PRIMARYRuby
DELIVERYTEAM RECORD
VERIFICATIONruby
SOURCEINSPECTOR READY
MEDIA ATTACHMENTS (Images, Photos, Videos)

03 // KEY OUTCOMES

  • The same game written twice in two languages, for a concrete comparison
  • A virtual keyboard described declaratively rather than built by hand

BEYOND THE BRIEF

  • Rewriting the same game in a second language, precisely in order to compare the two approaches

04 // SOURCE TREE

READING SOURCE…