require "dxruby" phase = 0Window.loop do case phase when 0 phase = 1 if Input.keyPush? K_RETURN Window.drawFont 50 , 50 , "タイトル" , Font.default when 1 phase = 9 if Input.keyPush? K_RETURN Window.drawFont 50 , 50 , "本編" , Font.default when 9 exit if Input.keyPush? K_RETURN Window.drawFont 50 , 50 , "終わり" , Font.default endend
Standard input is empty
Standard output is empty
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- dxruby (LoadError) from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require' from prog.rb:1:in `<main>'
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!