Sha256: a18b455fa6f510574fc2c818296e31d3a324c7ea102e50db51cd254cdb8ae721
Contents?: true
Size: 434 Bytes
Versions: 16
Compression:
Stored size: 434 Bytes
Contents
win = RubyText.window(11, 65, 3, 14, fg: Blue, bg: White) win.go 2,0 win.puts "We also have: up!, down!, left!, and right! which can" win.puts "Take us to the edges of the window." win.go 5, 21; win.putch("+"); sleep 1 win.go 5, 21; win.up!; win.putch("U"); sleep 1 win.go 5, 21; win.down!; win.putch("D"); sleep 1 win.go 5, 21; win.left!; win.putch("L"); sleep 1 win.go 5, 21; win.right!; win.putch("R"); sleep 1
Version data entries
16 entries across 16 versions & 1 rubygems