Module: GamesAndRpgParadise::Memory
- Included in:
- GUI::Gtk::Memory::Card, GUI::Gtk::MemoryModule, GUI::Memory, GUI::Memory::Game, GUI::Memory::PlayGame
- Defined in:
- lib/games_and_rpg_paradise/games/memory/memory.rb
Constant Summary collapse
- SCREENWIDTH =
#
SCREENWIDTH
#
480
- SCREENHEIGHT =
#
SCREENHEIGHT
#
270
- TITLE =
#
TITLE
#
'Memory Game'
- IMAGES_DIRECTORY =
#
IMAGES_DIRECTORY
#
::GamesAndRpgParadise.project_base_directory?+'images/animals/'
- FILE_CAMEL_HEAD =
#
FILE_CAMEL_HEAD
#
IMAGES_DIRECTORY+'camel-head.png'
- FILE_DONKEY =
#
FILE_DONKEY
#
IMAGES_DIRECTORY+'donkey.png'
- FILE_FROG =
#
FILE_FROG
#
IMAGES_DIRECTORY+'frog.png'
- FILE_LION =
#
FILE_LION
#
IMAGES_DIRECTORY+'lion.png'
- FILE_OCTOPUS =
#
FILE_OCTOPUS
#
IMAGES_DIRECTORY+'octopus.png'
- FILE_SAD_CRAB =
#
FILE_SAD_CRAB
#
IMAGES_DIRECTORY+'sad-crab.png'
- FILE_SPERM_WHALE =
#
FILE_SPERM_WHALE
#
IMAGES_DIRECTORY+'sperm-whale.png'
- FILE_SHEEP =
#
FILE_SHEEP
#
IMAGES_DIRECTORY+'sheep.png'
- FILE_UNICORN =
#
FILE_UNICORN
#
IMAGES_DIRECTORY+'unicorn.png'
- FILE_SNAIL =
#
FILE_SNAIL
#
IMAGES_DIRECTORY+'snail.png'
- FILE_BLACK_BACKGROUND =
#
FILE_BLACK_BACKGROUND
#
IMAGES_DIRECTORY+'black_background.png'
- FILE_CARD_RANDOM =
#
FILE_CARD_RANDOM
#
IMAGES_DIRECTORY+'card-random.png'
- FILE_NEW_GAME =
#
FILE_NEW_GAME
#
IMAGES_DIRECTORY+'new_game.png'
- ARRAY_IMAGES_FOR_THE_MEMORY_GAME =
#
ARRAY_IMAGES_FOR_THE_MEMORY_GAME
We will put these image-files into an array, to make it easier to work with these files.
#
[ FILE_CAMEL_HEAD, FILE_DONKEY, FILE_FROG, FILE_LION, FILE_OCTOPUS, FILE_SAD_CRAB, FILE_SPERM_WHALE, FILE_SHEEP, FILE_UNICORN, FILE_SNAIL, FILE_CARD_RANDOM, FILE_NEW_GAME ]
- GAME_MESSAGE_YOU_WON =
#
GAME_MESSAGE_YOU_WON
#
"Congratulations!\n You won!"
- USE_THIS_FONT_FAMILY =
#
USE_THIS_FONT_FAMILY
#
'Courier'