Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.13 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.13 KB

FaceMorph Quiz Game

FaceMorph Quiz blends history and fun in a React Native mobile game. Upload a selfie, morph it with a historical figure, and guess who it is!

Table of Contents

  1. Installation
  2. How to Play
  3. Game Components
  4. Credits

Installation

  1. Clone the repo: git clone https://github.com/zubyj/facemorph-quiz.git.
  2. Move into directory: cd facemorph-quiz.
  3. Install dependencies: npm install.
  4. Add .env in the root with API endpoints: MORPH_ENDPOINT=, UPLOAD_ENDPOINT=, AUTH_HEADER=.
  5. Run: npm run ios or npm run android.

How to Play

  1. Upload a selfie with UploadImageButton.
  2. Start the game to morph the images.
  3. Guess the famous figure in the resulting image!

Game Components

  • QuizScreen: Handles the game logic, displays images and options.
  • UploadImageButton: Uploads user's image.
  • UploadRandomImage: Uploads random famous image, returns image URL and face object.

Credits

Morphing is done by our API. Icons and images are from open sources. For issues or suggestions, open an issue or submit a pull request.