leovinsen / octopush

Financial Education mobile game prototype
0 stars 0 forks source link

Challenge Repository #43

Closed leovinsen closed 4 years ago

leovinsen commented 4 years ago

Read from assets/challenge.json and save in SQLite DB

Table challenge {
    time_interval PK NOT NULL
    name TEXT NOT NULL
    description TEXT NOT NULL
    lowest_reward INT NOT NULL
    highest_reward INT NOT NULL
    done BOOL DEFAULT false
}

ChallengeRepository will handle loading challenge from DB

When interval is incremented from Home, ChallengeRepository will be queried with param time_interval