diff --git a/data/play-example.json b/data/play-example.json new file mode 100644 index 0000000..58c48d7 --- /dev/null +++ b/data/play-example.json @@ -0,0 +1,96 @@ +{ + "about": "This is a Play file that can be read by Board Game Stats. If you see this text, try to use a share, export or open-in function to open it with Board Game Stats.", + "players": [ + { + "uuid": "31f8b92e-11d8-4162-88b1-fd9c79eea249", + "id": 2, + "name": "Colin Powell", + "isAnonymous": false, + "modificationDate": "2025-10-18 08:32:40", + "metaData": "{\"isNpc\":0,\"playerAvatar\":{\"image\":\"AnnikaHeller_Capybara.webp\",\"shape\":[1,1,1,1],\"color\":[0.6,0.20000000298023224,0.9803921580314636]}}" + }, + { + "uuid": "dd2d1881-84ab-474c-a6b2-3045d034dc40", + "id": 3, + "name": "Silas Sewell", + "isAnonymous": false, + "modificationDate": "2026-01-18 12:27:12", + "metaData": "{\"isNpc\":0,\"playerAvatar\":{\"image\":\"RoryMuldoon_07.webp\",\"shape\":[1,1,1,1],\"color\":[0,0,0.1835034190722739]}}" + } + ], + "locations": [ + { + "uuid": "14f7389c-767f-4725-9b35-906c407b293c", + "id": 3, + "name": "Timberwyck Farm", + "modificationDate": "2025-07-01 18:03:38" + } + ], + "games": [ + { + "uuid": "9e431cdd-b325-4061-a875-d415d46342c0", + "id": 1046, + "name": "Sweet Takes", + "modificationDate": "2026-04-11 16:25:35", + "cooperative": false, + "highestWins": true, + "noPoints": false, + "usesTeams": false, + "urlThumb": "https://cf.geekdo-images.com/l4HILZn5iLbceQeDph4G5A__small/img/gmGqlmwe9fniqYpniGwhg5RUgVQ=/fit-in/200x150/filters:strip_icc()/pic8784202.jpg", + "urlImage": "https://cf.geekdo-images.com/l4HILZn5iLbceQeDph4G5A__original/img/b4IU8WIEWRpacbXp0FHG9HfFRpw=/0x0/filters:format(jpeg)/pic8784202.jpg", + "bggName": "Sweet Takes", + "bggYear": 2023, + "bggId": 407581, + "designers": "Hisashi Hayashi", + "isBaseGame": 1, + "isExpansion": 0, + "rating": 67, + "minPlayerCount": 2, + "maxPlayerCount": 5, + "minPlayTime": 15, + "maxPlayTime": 15, + "minAge": 8 + } + ], + "plays": [ + { + "uuid": "7b2fd583-e8f2-40fe-9565-90178390b87e", + "modificationDate": "2026-04-16 20:18:03", + "entryDate": "2026-04-16 20:13:33", + "playDate": "2026-04-16 20:13:33", + "usesTeams": false, + "durationMin": 4, + "ignored": false, + "manualWinner": false, + "rounds": 0, + "locationRefId": 3, + "gameRefId": 1046, + "board": "", + "scoringSetting": 1, + "metaData": "{\"playerRefId\":2,\"playGameBggVersion\":\"{\\\"versionId\\\":0,\\\"versionName\\\":\\\"\\\",\\\"imageUrl\\\":\\\"https:\\\\\\/\\\\\\/cf.geekdo-images.com\\\\\\/l4HILZn5iLbceQeDph4G5A__small\\\\\\/img\\\\\\/gmGqlmwe9fniqYpniGwhg5RUgVQ=\\\\\\/fit-in\\\\\\/200x150\\\\\\/filters:strip_icc()\\\\\\/pic8784202.jpg\\\",\\\"thumbUrl\\\":\\\"https:\\\\\\/\\\\\\/cf.geekdo-images.com\\\\\\/l4HILZn5iLbceQeDph4G5A__small\\\\\\/img\\\\\\/gmGqlmwe9fniqYpniGwhg5RUgVQ=\\\\\\/fit-in\\\\\\/200x150\\\\\\/filters:strip_icc()\\\\\\/pic8784202.jpg\\\",\\\"yearPublished\\\":0}\",\"playUsedGameCopy\":2}", + "playerScores": [ + { + "score": "27", + "winner": false, + "newPlayer": false, + "startPlayer": false, + "playerRefId": 2, + "role": "", + "rank": 0, + "seatOrder": 0 + }, + { + "score": "36", + "winner": true, + "newPlayer": true, + "startPlayer": false, + "playerRefId": 3, + "rank": 0, + "seatOrder": 0 + } + ], + "expansionPlays": [] + } + ], + "userInfo": { "meRefId": 2 } +} diff --git a/data/statistics.sqlite3 b/data/statistics.sqlite3 new file mode 100644 index 0000000..ca76ed7 Binary files /dev/null and b/data/statistics.sqlite3 differ