Skip to content

Releases

BomberNet 0.3.0

Choose a tag to compare

@github-actions github-actions released this 25 Oct 13:13
b8f0900

What's new in 0.3.0

Seven more machines. BomberNet now runs on the Amstrad CPC (M4 board), the Atari XL/XE (FujiNet), the Commodore 64 (WiC64, or an Ultimate 64 / Ultimate-II+), the Amiga (any TCP/IP stack), the Atari ST (a Wi-Fi modem on the serial port), the IBM PC under DOS (Ethernet with a packet driver, or a Wi-Fi modem on COM1/COM2; CGA, EGA or VGA; PC speaker, AdLib or Sound Blaster) and in any browser, compiled to WebAssembly: no emulator any more. All of them meet the Sharp MZ-800 and the ZX Spectrum in the same room.

Network play

  • Run-ahead on the browser, the PC (from a 286), the Amiga and the Atari ST: your own player answers at once, as in standalone play, while the input delay of the lockstep applies to the others. A guess about another player that turns out wrong is corrected within the delay (a cell of a jump at most; a bomb never guessed). The PC's /NOROLLBACK and the page's ?runahead=0 switch it off.
  • The input delay adjusts during a match: the host lowers it when every machine has time to spare and raises it when everybody waits, never above what the lobby measured. A delay of one frame (60 ms) is used whenever the link allows it.
  • A key's effect reaches the screen sooner on every machine: the picture is flushed right after the logic instead of after the frame's wait (about 25 ms on the MZ-800, 50 on a PC).
  • The binary input lines on the wire (about 7 bytes, not 50) for the machines that run the network themselves.
  • Mixed local and network players: any number of players at each machine, up to four in all.

The game

  • The bomb-drop blink (the player in the bombs' colour for a frame, as the original showed player 1) on every machine, for every player.
  • The ZX Spectrum 128K with an ESP-01 (eLeMeNt ZX, MB03+): Milan Stava's port, brought in.
  • The PC: ESC leaves a match or cancels a room code and never quits; Alt+X on the title goes back to DOS.
  • The browser: touch controls on a phone (BOMB, BREAK, ABC, a d-pad), a landscape fullscreen, a SOUND button.

Known limits

  • The Atari XL/XE's network has not been tried on a real FujiNet yet; the emulated cost makes a match 5 to 18 % slow, and a room with an Atari runs at the Atari's pace. Reports from real hardware are welcome.
  • An XT at 4.77 MHz has no time for the run-ahead and plays in plain lockstep, at a slightly reduced pace in a network match.

Credits. The ZX Spectrum 128K with an ESP-01 is Milan Stava's port (#2), brought into the common code in commits co-authored with him. Bomber Man (C) 1983 Hudson Soft; BomberNet by MZPico.

Setting it up: a guide per platform covers loading, the network device, the keys and the emulators, and network play the rooms, the delay and a relay of your own. The same files are on mzpico.com, where the browser version plays.

For developers: docs/development.md. Every pull request now builds all machines and runs the replays, the lockstep and cross-play matches in the real emulators.

The files

BomberNet 0.3.0 for every machine. Built and tested by the release workflow; the files' SHA-256 sums are in SHA256SUMS.

Machine File
Sharp MZ-800, the MZ-700 locally (an MZPico with a Pico W and Wi-Fi enabled; a Unicard with the NET firmware on a home network, with a relay of your own) bombernet-0.3.0-mz800.mzf
ZX Spectrum 48K and up (Spectranet) bombernet-0.3.0-zx-spectrum-48k.tap
ZX Spectrum 128K, eLeMeNt / MB03+ with an ESP-01 bombernet-0.3.0-zx-spectrum-128k-esp01.tap
Amstrad CPC (M4 board) bombernet-0.3.0-amstrad-cpc.dsk, .cpc
Atari XL/XE (FujiNet) bombernet-0.3.0-atari-xl.xex
Commodore 64 (WiC64, Ultimate) bombernet-0.3.0-c64.prg, .d64
Amiga (any TCP/IP stack) bombernet-0.3.0-amiga, bombernet-0.3.0-amiga.adf
Atari ST (WiFi modem) bombernet-0.3.0-atari-st.prg, .st
IBM PC, DOS (WiFi modem, Ethernet with a packet driver) bombernet-0.3.0-pc-dos.exe, .img
Any browser (WebAssembly) bombernet-0.3.0-web.zip

What's Changed

  • NET on the MZ-800 Unicard: detect NET by the INFO feature bit, relay TCP host configurable by @mlukasek in #1
  • CI: build and test workflows by @martin-mat in #3
  • zxemu: a repeated breakpoint stop is not a new one (coop4 replays on the Spectrum) by @martin-mat in #4
  • Remove the tape images from the repository by @martin-mat in #6
  • CI: release workflow and nightly emulator runs by @martin-mat in #5
  • A README for players by @martin-mat in #7
  • Input lag: the frame's picture before the frame's wait by @martin-mat in #8
  • PC: ESC never quits (Alt+X does); browser: a SOUND button; the bomb-drop blink on every machine by @martin-mat in #9
  • gitignore: .vscode/ by @martin-mat in #11
  • The Atari ships with its FujiNet network by @martin-mat in #10
  • CodeRabbit: the docstring-coverage check off by @martin-mat in #15
  • Run-ahead on the browser, the PC, the Amiga and the ST by @martin-mat in #13
  • BomberNet 0.3.0 by @martin-mat in #14

New Contributors

Full Changelog: v0.2.0...v0.3.0