Skip to content

alexanderaziz/Rainfall-Preparation-Genie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🌧️ Rainfall Preparation Genie

An Educational Text-Based RPG to Teach Disaster Preparedness

This project is a text-based RPG game built with IBM’s AI cloud services. It aims to help players learn how to prepare for natural disasters and make safer decisions during emergencies, especially heavy rainfall and flooding. The game provides a fun and interactive way to understand disaster management through dynamic scenarios where every choice matters!


🚀 Features

  • Engaging Storyline: Follow the journey of a character as they prepare for incoming heavy rainfall.
  • Dynamic AI-powered Scenarios: IBM Cloud AI generates real-time advice, challenges, and feedback.
  • Educational Focus: Reinforces preparedness strategies like emergency kits, evacuation plans, and community collaboration.
  • Decision-Making Practice: Players learn how their choices influence safety and outcomes.
  • Adaptive Gameplay: The game adjusts based on the player’s decisions, offering different paths and endings.

🛠️ Tech Stack

  • IBM Cloud AI Services (Natural Language Processing & Text Generation)
  • React
  • Node.js
  • Express

🎮 How to Play

Want to run the game locally? Follow these steps:

  1. Create an IBM Cloud account and configure the AI services used for text generation.
  2. Add your API keys in the .env file following the provided template. It should look like this:
    WATSONX_AI_AUTH_TYPE=iam
    WATSONX_AI_APIKEY='<YOUR_KEY_HERE>'
    
  3. Clone the repository:
  4. Start the client
    cd client
    npm run dev
    cd ..
    
  5. Start the server
    cd server
    npm start
    
  6. open your browser and go to: http://localhost:5173
  7. Enjoy the game and start making safe decisions to handle heavy rainfall scenarios!

🙌 Acknowledgments

Special thanks to IBM Cloud for providing access and support throughout the project. Thanks for making this Hackathon possible!

🎒🚨 Stay Safe, Stay Prepared!

Enjoy the game and learn valuable lessons about disaster preparedness!

About

UF/IBM AI Days Hackathon Supported by Swamphacks

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors