Class: GamesParadise::GUI::Gtk::Mastermind::Mastermind
- Inherits:
-
Gtk::Box
- Object
- Gtk::Box
- GamesParadise::GUI::Gtk::Mastermind::Mastermind
- Includes:
- MastermindModule
- Defined in:
- lib/games_paradise/mastermind/gtk2/mastermind.rb,
lib/games_paradise/mastermind/gtk3/mastermind.rb
Overview
Gtk::Mastermind::Mastermind
Constant Summary
Constants included from MastermindModule
GamesParadise::GUI::Gtk::Mastermind::MastermindModule::HEIGHT, GamesParadise::GUI::Gtk::Mastermind::MastermindModule::MAX_N_ROWS, GamesParadise::GUI::Gtk::Mastermind::MastermindModule::NAMESPACE, GamesParadise::GUI::Gtk::Mastermind::MastermindModule::VERIFY_TEXT, GamesParadise::GUI::Gtk::Mastermind::MastermindModule::WIDTH
Instance Attribute Summary
Attributes included from MastermindModule
Class Method Summary collapse
-
.run(i = ARGV) ⇒ Object
# === GamesParadise::GUI::Gtk::Mastermind::Mastermind.run ========================================================================= #.
Methods included from MastermindModule
#array_solution?, #check_game_status, #compare_with_solution, #connect_skeleton, #create_boxes, #create_buttons, #create_main_table, #create_skeleton, #create_the_hbox_with_the_solution, #disable_verify_button, #hide_all_small_images_and_reset_weight, #initialize, #initialize_variables, #invoke_random_pattern, #lose_game, #padding?, #properly_reveal_the_first_image, #reset, #restart_the_game, #reveal_game, #run, #show_the_solution, #verify_what_the_player_did
Class Method Details
.run(i = ARGV) ⇒ Object
#
GamesParadise::GUI::Gtk::Mastermind::Mastermind.run
#
30 31 32 |
# File 'lib/games_paradise/mastermind/gtk2/mastermind.rb', line 30 def self.run(i = ARGV) ::GamesParadise::GUI::Gtk::Mastermind::MastermindModule.run(i) end |