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!
- Clone the repo:
git clone https://github.com/zubyj/facemorph-quiz.git
. - Move into directory:
cd facemorph-quiz
. - Install dependencies:
npm install
. - Add .env in the root with API endpoints:
MORPH_ENDPOINT=
,UPLOAD_ENDPOINT=
,AUTH_HEADER=
. - Run:
npm run ios
ornpm run android
.
- Upload a selfie with
UploadImageButton
. - Start the game to morph the images.
- Guess the famous figure in the resulting image!
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.
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.