Top Level Namespace

Instance Method Summary collapse

Instance Method Details

#play(game) ⇒ Object


22
23
24
25
26
27
28
29
# File 'bin/scottkit', line 22

def play(game)
  # Decompile (and discard result) to get entity names resolved in
  # right order.  This ensures that debugging output that uses these
  # names will use them in the same way as decompiler output.
  dummy = StringIO.new
  game.decompile(dummy)
  game.play
end