game 1.0.8

eccentric skinner box point-collecting game
Documentation
1
2
3
4
5
6
7
8
9
10
11
use chrono::Utc;
use game::database::Database;

fn main() {
    let db = Database::open();
    let mut profile = db.from_username("test").unwrap();
    profile.data.points = 5500;
    profile.data.items.clear();
    profile.data.next = Utc::now();
    db.save_profile(&profile)
}