How would I be able to make a crash minigame with React? - reactjs

So I am using React in my frontend, have a database and stuff in my app, now I also want to create a crash minigame like some of you have probably seen before where for example there is some multiplier that starts from 1.00x and goes up and randomly crashes. I want multiple people to be able to join this game, put in their currency and keep it updated for every player on that page at the same time.
Does anyone have an idea for how I would be able to achieve this? Doing this with a database is obviously going to be too slow so what can I possibly do? Should I use websockets to do this?

Related

Fetch live sports data that changes from website to Google sheets

Update:
I have found a better website for getting the data. If you press my link, you can see in the top of the screen there are multiple future games. I would like to get details about the games that BC Copenhagen plays. The details should be live stats (points, players' points...). Is this possible?
Website: https://basketligaen.dk/
I have a pretty difficult question.
I want to fetch live data from a basketball game website. However, this is very tricky, because first of all:
The live games change all the time, and I'm only interested when one team is playing: "BC Copenhagen". (However, if I get more data from different teams, that would work as well)
When you click on the list, you get moved to a detailed screen about the live game. And this is the data I'm interested in.
So I need to somehow get data from the live games. Is it even possible to do this with Excell commands, or do I need to work with APIs like Zapier or Make? However, I have no idea how to do this.
Do you maybe have to give the Link to the game every time the game starts? But this would really not be a reliable solution.
Note: I'm using this data for a Glide App
Website: https://official.mvpapp.dk/live.php
You could try IMPORTHTML, but the link provided above shows no data for me. Most likely this requires much more scripting than that. Ideally, there would be an API data feed that could be used. Again, I see no data, so I can't say for sure.
A worst case scenario would be using #google-apps-scripts to parse the listing of games, grab the game you want, and get the data from that page. That would be out of scope of a Stack Overflow question.

React native - How do I start a timer, then navigate a different screen, then come back and have the timer still in sync with its original countdown?

The title really says it all. I've seen some questions about how to keep a component from un-mounting, but I'm not sure that's exactly what I need (or at least not all that I need).
I want it to continue counting when I go to a different screen in the app.
Can anyone tell me how to approach this?
Thanks

Does reminder app need database to work? -flutter

I want to make reminders app, and for that I will use FlutterLocalNotification because when I searched I saw that it is working in the background.
My question is should I use database for the reminders or not?
and can I use FlutterLocalNotification with a specific time? I mean let the user to pick the time
I tried flutter_local_notificaitons using it you can send the user local notifications in a specific time even when the app is closed. So I think it's the way to go. There are even some fancy ways to specify time patterns.
If you want try out this project I created it a while back to test the package. You will need to change line 80 in main.dart to use your own time zone.
You will need some local storage otherwise the user data will just not persist when she closes the app. There are many packages for this. Some are lighter then others. It depends on how big your app is so check them out and see what works.

What is the best solution to manage data from csv file and do some logic and action

Intro
I have learn basic programming in the past at school (vb) so i understand the logic behind an application and the way it think.
I started this week to learn python because ... I would like to be able to build what i need without having to smash my head in the keyboard.
In the mean time i would like to resolve my problem and i'm asking to all of you in case someone have seen something somewhere.
I have try to search but not sure how to ask so respond was not relevant.
My Question
I know i can do this in excel but i'm looking for another way if possible.
Does someone knows if there existe an application online or on a mac that give me the ability to:
1- Import data from a csv file and add it in a database. So every day i will log 100 line of data.
2- After that i would like to manage condition related on data store in store in file 2 and 3.
3- That will generated a file 4 where i can see the only important case i have to take care for the day.
I imagine a little bit Access from microsoft but i don't remember if i was able to add parameter on the data i will visualise or condition.
What i'm trying to achieve
I have to process a lot of data manually right now and i'm trying to find a way to take out automatically the recurring problem from a list that i receive every day And there is no other way for me than build my own validation process.
Thank for your help. I'm new but i will try my best to bring something is this community (Python studies lv1, VB -15ans) . For now i'm building my startup And my expertise is more in technical skill on security products and technical support.
In case i'm not alone that would like to be able to do some basic thing like i was needed without having to program from scratch a database program i found those 2 solution yet:
https://www.zoho.com/creator/
and
http://www.ifreetools.com/

Chronological data model

On the twitter website if you click on the connect tab on the top of the screen (https://twitter.com/i/connect) you get this nice little chronological display of your tweets and when new people followed you, etc.
I'm curious what could be the data model behind this to allow them to build a UI like this. I'm trying to recreate it on my own and was wondering if anybody had an idea what it could be? For example, modeling connections between people seems trivial enough, you can use some type of graph, but then being able to keep track of dates when you added somebody or somebody un-followed you seems non-trivial. Any ideas?

Resources