Skip to content

Let's discuss networking - #FujiNet brainstorming #46

@bocianu

Description

@bocianu

That would be great to add network players. This game is perfect fit for it.

First of all - we do not need N: device to be loaded. I would even say that we do not want it :)
It's pretty convenient to use system Sio routines to comunicate on the level we need.
I don't know if you are already turning system memory off, but I recommend to go this way.

I already prepared nice and tiny handler to provide basic REST API operations via http and https.
It is only 458 bytes long, of course this do not include transmission buffers, but still.

I'm attaching it here: #FujiNet Tiny Http Client

For now my handler allows you to:

  • GET data
  • GET HEADERS
  • POST data with custom headers
  • PUT data with custom headers

There are two extra features:

  • if GET receives data block starting with $FFFF (atari com file) it reads following addresses and loads remaining data into atari memory at desired location,
  • it can RUN and INIT com blocks

I think it could be enough for basic communication with the game server, or even more.
Using RUN/INIT wisely you can even create autoupdating exectable :)

Considering server itself, I can also help in this area.
I have some experience in writing REST API backends in node.js

But for sure we need do some work on communications scheme, data structures, and general principles.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions