Score
We decided to use number images to render the score, so we will need to load them and pick the appropriate digits depending on the user's score:
/*** src/components/Score.js ***/ import React, { Component } from “react"; import { View, Image } from “react-native"; import { W, H } from “../constants"; export default class Score extends Component { getSource(num) { switch (num) { case “0": return require(“../../images/0.png"); case “1": return require(“../../images/1.png"); case “2": return require(“../../images/2.png"); case “3": return require(“../../images/3.png"); case “4": return require(“../../images/4.png"); case “5": return require(“../../images/5.png"); case “6": return require(“../../images/6.png"); case “7": return require(“../../images/7.png"); case “8": return require(“../../images/8.png"); case “9": return require(“../../images...