Skip to content

gunjanjaswal/BloodTypingGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Blood Typing Game Logo

๐Ÿฉธ Blood Typing Game ๐Ÿฉธ

Blood Typing Game

Play Game Website GitHub License Buy Me A Coffee

An interactive educational web game about blood types, transfusions, and medical science

๐ŸŒ PLAY LIVE



๐Ÿ“‹ Overview

An interactive educational web game that teaches users about blood types, blood typing procedures, and safe blood transfusions. This project is inspired by the 1930 Nobel Prize in Physiology or Medicine awarded to Karl Landsteiner for the discovery of human blood groups.

๐Ÿ”— Visit Live Site

Play Now - bloodtypinggame.com

https://bloodtypinggame.com/

Experience the game directly in your browser with no installation required!



๐ŸŽฎ Play the Game

The Blood Typing Game challenges players to:

  1. Determine patients' blood types through simulated blood tests
  2. Select compatible blood bags for transfusion
  3. Save lives by performing correct transfusions
  4. Learn about blood type compatibility and the science behind it



๐Ÿงช Educational Content

The game covers:

  • ABO and Rh Blood Group Systems

    • Type A: Has A antigens and B antibodies
    • Type B: Has B antigens and A antibodies
    • Type AB: Has both A and B antigens, no A or B antibodies
    • Type O: No A or B antigens, has both A and B antibodies
    • Rh+ and Rh- factors
  • Blood Transfusion Compatibility

    • Universal donor (O-)
    • Universal recipient (AB+)
    • Compatibility rules between different blood types
    • Consequences of incompatible transfusions
  • Nobel Prize Connection

    • Karl Landsteiner's discovery of human blood groups in 1901
    • The 1930 Nobel Prize in Physiology or Medicine
    • Impact on modern medicine and transfusion safety



๐Ÿ”ง๏ธ Technical Details

๐Ÿ’ป Technologies Used

  • HTML5 Semantic markup for structure
  • CSS3 with Bootstrap for responsive design
  • JavaScript Pure vanilla JS for game logic
  • Node.js For local development server

โœจ Features

  • ๐Ÿ”ฌ Interactive blood typing simulation with realistic reactions
  • ๐Ÿ’‰ Accurate blood transfusion mechanics based on medical science
  • ๐Ÿ† Engaging scoring system with visual feedback
  • ๐Ÿ“ฑ Fully responsive design for all devices and screen sizes
  • ๐Ÿง  Rich educational content integrated seamlessly with gameplay
  • ๐ŸŽจ Modern UI with smooth animations and transitions

Project Structure

BloodTypingGame/
โ”œโ”€โ”€ css/
โ”‚   โ””โ”€โ”€ styles.css
โ”œโ”€โ”€ js/
โ”‚   โ””โ”€โ”€ game.js
โ”œโ”€โ”€ images/
โ”‚   โ””โ”€โ”€ blood-compatibility-chart.svg
โ”œโ”€โ”€ index.html
โ”œโ”€โ”€ server.js
โ”œโ”€โ”€ package.json
โ””โ”€โ”€ README.md



๐Ÿš€ Getting Started

๐ŸŒ Play Online

Visit the live site: https://bloodtypinggame.com/

The game is hosted online and ready to play! No downloads or installation required - just open the link in any modern browser and start learning about blood typing.

๐Ÿ’ป Prerequisites for Local Development

  • Chrome Firefox Safari Edge A modern web browser
  • Node.js (optional, for running the local development server)

๐Ÿ“ Installation

  1. ๐Ÿ’ผ Clone this repository:
git clone https://github.com/gunjanjaswal/BloodTypingGame.git
  1. ๐Ÿ‘๏ธ Navigate to the project directory:
cd BloodTypingGame
  1. ๐Ÿ“ˆ To run with Node.js server:
npm start
  1. ๐ŸŒŸ Alternatively, simply open index.html in your web browser.

๐Ÿ’ก Tip: For the best experience, use a modern browser with JavaScript enabled.



๐ŸŽฏ How to Play

  1. ๐Ÿ”น Start the Game: Click the "Start Game" button on the main menu
  2. ๐Ÿ”น For Each Patient:
    • ๐Ÿงช Test the Blood: Use Anti-A, Anti-B, and Anti-Rh serums to test the patient's blood
    • ๐Ÿ”Ž Observe Reactions: Watch for agglutination (clumping) which indicates presence of antigens
    • ๐Ÿ“ Determine Blood Type: Based on test results, select the correct blood type
    • ๐Ÿฉธ Select Compatible Blood: Choose a blood bag that's compatible with the patient
    • ๐Ÿ’‰ Perform Transfusion: Click the button to perform the transfusion
  3. ๐Ÿ”น Score: Try to save all five patients to achieve a perfect score

โš ๏ธ Warning: Incorrect blood type matching can cause transfusion reactions!



๐Ÿ“š Learning Outcomes

Players will gain valuable knowledge about:

  • ๐Ÿงช Blood Typing Techniques: Learn how medical professionals determine blood types
  • ๐Ÿฉธ Transfusion Compatibility: Understand which blood types can safely be given to which recipients
  • ๐Ÿ” Antigen-Antibody Reactions: Visualize how blood type incompatibilities cause reactions
  • ๐Ÿ“œ Medical History: Discover the Nobel Prize-winning work of Karl Landsteiner
  • ๐ŸŽ“ Clinical Applications: See how blood typing knowledge saves lives in medical settings



๐Ÿ”ฎ Future Enhancements

Exciting features planned for future releases:

  • ๐ŸŽฎ Challenge Mode: Additional game modes with varying difficulty levels
  • โœจ Enhanced Visuals: More detailed animations of blood typing reactions
  • ๐Ÿ“– Knowledge Base: Expanded educational content about hematology
  • ๐Ÿ‘ฅ Multiplayer: Competitive mode for classrooms and training
  • ๐ŸŽ– Achievements: Comprehensive achievement and badge system
  • ๐Ÿ“Š Statistics: Detailed performance tracking and learning analytics



๐Ÿ‘จโ€๐Ÿ’ป Author

Gunjan Jaswal

Website GitHub Email



โ˜• Support This Project

If you find this project helpful or educational, consider supporting its development:

Buy Me A Coffee

Your support helps maintain and improve this educational resource!



๐Ÿ“„ License

MIT License

This project is licensed under the MIT License - see the LICENSE file for details.



๐Ÿ™ Acknowledgements

๐ŸŒŸ Directly inspired by The Nobel Prize Blood Typing Game
๐Ÿงฌ Based on Karl Landsteiner's Nobel Prize-winning work in blood group discovery
๐ŸŽ“ Created for educational purposes to promote understanding of blood types and transfusions
๐Ÿ’œ Special thanks to the medical and scientific community for their ongoing research



๐Ÿ” Keywords


ยฉ 2025 Gunjan Jaswal โ€ข Made with โค๏ธ for education

Play Game โ€ข Website โ€ข GitHub โ€ข Contact โ€ข Support

About

An interactive educational web game about blood types, transfusions, and medical science

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published