coflnet / ctwapi Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Affero General Public License v3.0
License: GNU Affero General Public License v3.0
Add the times the item has been collect in the image upload response
This is the return values:
MultiplierResponse[success=true, multiplier=[ActiveMultiplier[multiplier=1.25, category=animal], ActiveMultiplier[multiplier=null, category=clothes], ActiveMultiplier[multiplier=null, category=fruit]]]
When uploading an item I haven't already, I get 500 status code
Failed to upload image. Status code: {"slug":"internal_error","message":"An unexpected internal error occured. Please check that your request is valid. If it is please report he error and include reference \u00270bd7518990f67ad53b56edaaf82e1706\u0027.","trace":"ctwapi-59c86b9f7f-94nz5.0bd7518990f67ad53b56edaaf82e1706"} I/flutter (18422): 500
uploading image returns 500 error code
Rename image bonus to baseReward
Unqiue is false when it should be true
dailyItemReward says 0 even when challange/daily
says I have 4 progress
collectedTimes should start at 1
change daily quest reward to 1000xp instead of the current 500
So I don't have to call api/leaderboard/boardName/me
three time to get the user's position of each board, can you just give me one that returns all three?
Item should be related to previously found items
Return whether it was a "new" item (Be in the first 20 to collect it)
Also when it actually comes time to process the images have it so that if it takes longer than say 2 seconds to process the image just award the user XP anyway and take it away later if needed.
title
Need to track exp in a day and week and throw away past ones.
An endpoint for the newest items sorted by newest and time (for each level like 450XP/350XP ext. the old will be at the bottom)
Gives each item a UID so it's easier to verify whether I have displayed it before.
when requesting /stats endpoint it returns 404 from Nginx? this may be a Flou issue.
I also made sure this wasn't an issue with the generated code in Flutter, by calling it in API doc. Which may mean it's just an issue with open-API
when collecting the same item it still rewards xp
Add a global quest ( for all users) to collect x amount of images in a day or a week rewarding each user depending on participation. depending on participation for example could be to get at least 2 images for the daily or 15 for the weekly.
I don't think these should be restricted to categories of items.
We were already talking about it and the name is pretty self-explanatory, But also make sure you return it in the stat end-point.
Make an endpoint for daily items.
The number of items: Start with 15 and maybe adjust that in the future.
XP per item: for every item, give them between 50-250 XP in intervals of 25.
Item Quests: Starting at needing to collect 1 of the items, increasing by 2 each time. Reward the user 75 XP, increasing by 1.5x each time (applying all multipliers)
Add a service for daily goals to get 7 images in one day and on completion gain 500 XP
Return me the user who found it, This isn't needed for the MVP but is very wanted if it wouldn't take long
Get score,
get around
get rank
add profile
get board
should be supported, adding scores is done internally
Randomize each item's XP value between 10-50 in the object/challenge endpoint.
Make basic auth and image upload
Only happened once, couldn't reproduce still an issue tho
\u00270893d2cfdab59e9c7d84ef1dff83aed2\u0027.","trace":"ctwapi-59c86b9f7f-94nz5.0893d2cfdab59e9c7d84ef1dff83aed2"
Add top ten finishes (daily or weekly) and unique images taken.
I didn't collect any images yesterday or today but the stats endpoint still says I have a streak going
Count exp up when collecting an item.
current item doubles exp.
award exp again if description is uploaded
( Maybe make a whole system for quests/Challenges so they can be easily added or changed)
A quest for every 5 "new" items (be in the first say 50 to collect the item) you gain 5,000 XP
Add a JSON file in the backend that has all stats like leaderboard reward, bonus multipliers, base rewards, ext. So it's easy for me or you to adjust all in one place
Write me the legal flow for the user for that I will implement, how/when they accept it how many buttons in the first accept screen what to do if they decline ext.
Add a stat endpoint to which you can pass a UUID/ID and get that user's stats.
Add a service that makes three bonuses per day which will be multipliers for categories or types of items like indoor items, food, plants ext. Give the three of them an increasing multiplier of 1.25x 2x 4x respectively.
2 skips per day, resetting at 0 UTC
collecting a not-current image grants another skip
I have a dream! Make all words have equal rights have them handled the same ai confirmed or not!
When I call Stats api it says I have 1025 XP but on the leaderboard all time it says I have 820 XP
When I uploaded an image of an item, I have already collected before images_uploaded still increases. Also, I somehow have three skips available, it should be maxed out at 2.
It takes a very long time to respond, like 4โ5 seconds.
All return numbers are 0 this was my first time collecting the item and I got a return total was 0
Daily leaderboard give top ten +1000XP give 1,2,3 3000,2000,1000 in their respective order.
For Weekly give top twenty 3000k give 1,2,3 6000,3000,2000 in their respective order.
Make an endpoint that I call on start up and notifies the user if they had XP removed for added from their account. Example, placing top ten in the leaderboard or got XP removed because they took the wrong image of an item ext.
returns status code 500
Change the target in long term endpoint to be 5
Return me daily streak as well.
This is the response I got when uploading acorn.
{image: {id: b1598985-5e53-44ea-b22f-c11a77710cb9, userId: 847e326b-c39b-484e-9621-c46962d04c04, objectLabel: apple, description: null, day: 1642, verifications: 0, metadata: null, contentType: image/jpeg, size: 353601}, rewards: {total: 0, multiplier: 0, imageBonus: 490, isCurrent: false, unique: false, dailyItemReward: 0, dailyQuestReward: 0}}
There's no multiplier and no total, which doesn't make much sense at all. There should be a multiplier from the bonus "forest" it also seems like it did apply one, but I'm not sure
In the leaderboard endpoints add the user ID or UUID whatever you use to differentiate between the users.
Each collectible should have a term which its identified by.
CollectedObjects can have
Add check for real word/phrase for new items
make the first 10-20 items easy, like a mug hand ext. just so a user doesn't download the app and have to find a very specific item and then delete the game.
Their may be more in the comments
Add remaining skips in the api/stats/all endpoint. I know there is already an endpoint, but I don't want to call that every time on start up I want in the stats response
Daily doesn't have an avatar and no users show up in the weekly leaderboard
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.