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

Version Path
hyper-operation-0.5.12 examples/five-letter-word-game/app/hyperloop/components/guesses.rb
hyper-operation-0.5.11 examples/five-letter-word-game/app/hyperloop/components/guesses.rb
hyper-operation-0.5.10 examples/five-letter-word-game/app/hyperloop/components/guesses.rb
hyper-operation-0.5.9 examples/five-letter-word-game/app/hyperloop/components/guesses.rb
hyper-operation-0.5.8 examples/five-letter-word-game/app/hyperloop/components/guesses.rb
hyper-operation-0.5.7 examples/five-letter-word-game/app/hyperloop/components/guesses.rb
hyper-operation-0.5.6 examples/five-letter-word-game/app/hyperloop/components/guesses.rb
hyper-operation-0.5.5 examples/five-letter-word-game/app/hyperloop/components/guesses.rb
hyper-operation-0.5.4 examples/five-letter-word-game/app/hyperloop/components/guesses.rb
hyper-operation-0.5.3 examples/five-letter-word-game/app/hyperloop/components/guesses.rb
hyper-operation-0.5.2 examples/five-letter-word-game/app/hyperloop/components/guesses.rb
hyper-operation-0.5.1 examples/five-letter-word-game/app/hyperloop/components/guesses.rb
hyper-operation-0.5.0 examples/five-letter-word-game/app/hyperloop/components/guesses.rb