Sha256: 42258e157b28339f8b7addf3762e4c369c141584df38ae28f1872bea1f9046bd
Contents?: true
Size: 264 Bytes
Versions: 13
Compression:
Stored size: 264 Bytes
Contents
class Guesses < React::Component::Base render(DIV) do OL do Store.my_guesses.each { |guess, no_correct| LI { "#{no_correct} in '#{guess}'" } } end BUTTON { 'quit' }.on(:click) { Ops::YouWin message: 'I quit' } unless Store.game_over? end end
Version data entries
13 entries across 13 versions & 1 rubygems