This unofficial fan art is a tribute to the great CD Projekt's «The Witcher»'s universe. It is NOT actually endorsed or promoted by CD Projectk.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Cloning the repository
git clone https://github.com/Cedric-F/Gwent-Memory-Game.git
Browse to the Memory-Game-v2
directory.
If needed, move it somewhere else.
How to use the Gwent Memory Game application.
The user first needs to select a faction, and press the Start button to deal the corresponding cards.
The user can open the Settings menu either by pressing the Escape key, or clicking the cog icon in the top right corner of the page.
Note: The same Escape key will also close the modals. The cards are reset when closing it.
- VFX: Let the user enable or disable the sounds.
- Gameplay: Let the user choose if the timer is enabled. If so, they have 45 seconds to finish the game. Otherwise, the timer is disabled and only the moves will impact the final score.
- Difficulty: In the Regular mode, the cards are displayed on click. In the «Hard» mode, the cards are displayed on comparison.
Key | Action |
---|---|
"Escape" | Open the Settings menu. Close the opened modals. Mobile users can tap outside the modal area to close it. |
"Space", "Enter" | If the focus is on a card, flip it. If the focus is on a HUD element (Settings options...), check it. |
↑ ← ↓ → | Navigate through the cards on the board. |
"S" | Shuffle the cards. |
"F" | Opens the faction selector. |
- Vanilla JavaScript + ES6
- Responsive design
- Cédric F - Design and Dev - Profile
This project is not licensed.
- Menu opener: War Craft 3 - Blizzard
- Settings click sound && Cards flip: OpenGameArt
- Board rows && Gems && Deck holder && Board sides: Andy811 on DeviantArt
- Cards: CD Projekt - Gwent The Game Pack from Adef25 on Reddit
- Modal frames: Siobhan68 on DeviantArt
- Settings icon: Google Material Icons