Crypto Currency Data Python or Block

Hey guys. Does anyone want to make a game that shows real time data or specific crypto currencies and stocks? so practically like an app but like a game. It would have to be made in python.

3 Likes

That’s impossible, if you want to fetch real data. MakeCode can’t make network requests.

4 Likes

Bro burst his bubble before it even existed…

There should be some way! Maybe you could, like, make up your own currencies!

Erm, actually :nerd_face::point_up: it is possible via WebSockets (the demo looks broken currently though) but it only works on GitHub pages, making debugging almost impossible and needing external infrastructure or a finance API supporting WebSockets.

simmessages also exist but you need to write custom code that only runs in GitHub pages,. making debugging almost impossible and I’m unsure if you can send messages into the simulator.

So essentially it’s impossible to interact with the network, but it is always possible to simulate it in your game!

3 Likes

I was going to mention websockets. I looked into it a while ago and it looks like the demo is broken because the websocket that it is connecting got deleted a while ago. That might not be the only problem though, because I tried to connect to a different websocket and it didn’t work

1 Like