As part of our efforts to make Memória Leonina accessible to a global audience, we are looking to add localization support to the game. This will allow users from different regions and languages to enjoy the game in their native language.
Identify and implement a localization library or approach that suits the project's structure. (Maybe https://github.com/intlify/vue-i18n-next would fit, or maybe we can use a custom implementation)
Create a directory structure for storing localization files.
Provide translations for game elements such as buttons, labels, and instructions.
Implement a mechanism to switch between languages in the game settings.
Ensure that text elements are dynamically updated based on the selected language.
Add support for at least one additional language (e.g., Spanish, French, or another language of your choice).
Acceptance Criteria:
The game should include a language selection option in the settings.
Translations should be provided for all user-facing text elements.
Text should be updated dynamically when the user selects a different language.
The game should initially support English and one additional language.
Feel free to reach out if you have any questions or need guidance on the localization process. This enhancement will make the game more accessible to a wider audience and improve the overall user experience.
To enhance the challenge and excitement of the game, we aim to implement a countdown timer that will require players to complete the game within a specified time limit.
Tasks:
Timer Display: Create a timer display on the game interface, preferably at the top or bottom, clearly visible to players.
Countdown Functionality: Implement the logic for a countdown timer that starts when the game begins and counts down from a specified time limit (e.g., 60 seconds).
Timeout Handling: When the timer reaches zero, the game should automatically end, and the player's progress should be evaluated.
Pause and Resume: Implement the ability to pause and resume the timer. When paused, the timer should stop counting down, and when resumed, it should continue from where it left off.
Timer Styling: Ensure that the timer is visually appealing and that the display updates dynamically as the timer counts down.
Configurable Timer: Make the timer's duration configurable, so it can be adjusted easily in the game settings.
Acceptance Criteria:
The game interface should include a countdown timer that starts when the game begins.
The timer should be visually appealing and clearly visible to players.
The timer should count down from a specified duration (e.g., 60 seconds) and stop when it reaches zero.
Players should be able to pause and resume the timer as needed.
The timer's duration should be configurable in the game settings.
Additional Information:
Adding a countdown timer will add an exciting element of challenge to our game, making it more engaging and competitive for players.