SP4CEBAR 2025-10-07 14:40 (Edited)
Open In Editor (single player)
Sharing a Disk.nx file between two running programs allows them to "talk" to each other.
Now that you are ready to play, here are some guidelines to avoid confusing the program:
cat Disk.nx
in a terminal) to see the latest changes to the file.I shared Disk.nx files on iCloud (see "Servers" below): Save one to your iCloud, then move it to your "Lowres NX" folder on iCloud, then NX should be able to use it. See instructions above on "how to play". Don't confuse your "recents" folder with your "Lowres NX" folder like I did.
if the shared disk were in use, you could use another one
⚠️ Tread with caution: anyone on the internet could have modified one of the Disk.nx files I shared
SP4CEBAR 2025-10-08 15:41 (Edited)
You may treat this code as an example of a turn-based multiplayer game, you could for example modify it into a card game.
If you are more adventurous, you could mess with the code to make different multiplayer rules: game where each player can prepare their moves all at once before the result of them is revealed, like rock paper scissors.
You could even try to let each connected program modify their file (channel) continuously to sync the states of more action-packed games.
4 + TIMER MOD 12
SP4CEBAR a sneaky markdown trick
I tested it on Linux by running two NX instances and it actually works!
SP4CEBAR 2025-10-08 19:47 (Edited)
jpospTynker 2025-10-09 00:02
this is SICK! it’s crazy multiplayer works in LOWRES NX now
SP4CEBAR 2025-10-09 11:51
I'm glad you like it!
SP4CEBAR 2025-10-09 13:49 (Edited)
SP4CEBAR 2025-10-09 14:37 (Edited)
Now you can play multiplayer on IOS! See program desciption above for more details.
Please let me know if you managed to open and modify the Disk, with an NX program on platforms other than IOS. I also just updated the description to provide more instructions and details.
SP4CEBAR 2025-10-09 16:24 (Edited)
jpospTynker 2025-10-09 21:42
this is awesome, definitely doing something with this! imagine 12-player Co-op with fellow NXers!
SP4CEBAR 2025-10-10 13:06 (Edited)
I love the enthausiasm! I updated the instructions to make it clear for most platforms how to play.
All we need now is to arrange a time when anyone that wants to play will be online to play!
...as well as a joining order (with around 30 seconds between each joining player)
SP4CEBAR 2025-10-10 13:22 (Edited)
Also, if anyone wants to modify this turn-based online multiplayer example into a more complex game such as a card game, feel free to do so:
SP4CEBAR 2025-10-10 18:45 (Edited)
G A M E: G U E S S T H E N U M B E R
" should contain all the code that defines the game behavior. It should be all you need if you just want to change the gameplay but keep the roundsT U R N - B A S E D M U L T I P L A Y E R
" should contain all the code that defines the multiplayer rounds behavior. Modify this, if you want to make multiplayer games without rounds like rock-paper-scissors, or terraria (definitely the same level of complexity :) )