Dragon Slayer is an immersive educational game that combines learning with adventure. Players embark on an epic quest to defeat a formidable dragon by demonstrating their knowledge across various topics. Each correct answer brings them closer to victory, while wrong answers could spell doom for our hero!
Explore the Lore Behind the Game
- Interactive Gameplay: Answer multiple-choice questions to attack the dragon.
- Dynamic Questions: Questions are dynamically generated based on the chosen topic.
- Engaging Animations: Enjoy captivating animations for both the hero and the dragon.
- Health Bars: Track the health of both the hero and the dragon.
- Responsive Design: Play the game on any device with a responsive design.
Amazon S3 (Simple Storage Service) is used to store and serve the game assets, including images, animations, and other static files. By leveraging S3, we ensure that the assets are highly available, durable, and can be delivered with low latency to users around the world.
AWS Bedrock is utilized to generate dynamic quiz questions based on the topic provided by the user. This service allows us to create a wide variety of questions, ensuring that the game remains challenging and engaging for players. AWS Bedrock's powerful AI capabilities enable us to generate high-quality questions on-the-fly.
Amazon EC2 (Elastic Compute Cloud) is used to host the game application and its backend services. EC2 provides scalable computing capacity, allowing us to handle varying levels of traffic and ensure a smooth gaming experience for all users. By using EC2, we can easily deploy, manage, and scale our application as needed.
Amazon Q is leveraged to assist in writing and generating code for the game. By utilizing Amazon Q's advanced AI capabilities, we can streamline the development process, ensuring that the code is efficient, well-structured, and adheres to best practices. This allows the development team to focus more on creative aspects and game design, while Amazon Q handles repetitive and complex coding tasks.
To play the Game Navigate to Here -
Or Setup the Game Locally By Following Instructions
- Node.js (v14 or higher)
- npm or yarn
- Python 12
-
Clone the repository:
git clone https://github.com/cyrixninja/DragonSlayerGame cd DragonSlayerGame
-
Install Node dependencies:
cd Frontend npm install # or yarn install
-
Start the development server:
npm run dev # or yarn dev
-
Install Python Libraries:
pip install boto3 flask_cors flask aws configure
-
Run Backend
cd Backend flask run
Open your browser and navigate to http://localhost:3000/start
to play the game.
- Open the game in your browser.
- Click the "Play" button to start the game.
- Answer the questions correctly to attack the dragon.
- Track the health of both the hero and the dragon using the health bars.
- Defeat the dragon to win the game!
- Code: Redirects to the GitHub repository.
- How to Play: Provides instructions on how to play the game.
Contributions are welcome! Please fork the repository and submit a pull request.