Soccer Bus FC: The Travelling Club
A football RPG for the ZX Spectrum Next: fast arcade matches with a loose ball and aftertouch, and between them a tiny club touring England, Scotland, Wales and Ireland in a battered blue bus, recruiting players town by town.
Overview
Soccer Bus FC is a football game written in Z80 assembly for the ZX Spectrum Next. The matches are eleven-a-side arcade football on a scrolling 320 × 240 stadium. The ball is loose: you charge a kick by holding fire and steer it in flight with aftertouch (bend, lob or dip). Everyone on the pitch has a name. Substitutions are made in the dugout and walk on at the next stoppage. A penalty switches to a close-up where you aim at the goal (or dive, in goal). Goals are replayed, and full time names a man of the match.
Between the matches is the tour. The club's ground at Saltmouth has been lost to a car park, so the squad buys a bus. It drives the map of Britain and Ireland to each league club's town. Every town has its own hub of places: the ground, the training pitch, the pub, the town's prospect to recruit, the garage and the league table. The calendar runs in days. Training, the pub and the garage each take a day, the road takes a day per hundred miles, and matches are on Saturdays. Players are women and men with six stats, levels, morale and skill points. Four training drills raise them: keepy-uppies, sprints, penalties and tackles. Win all four nations' leagues and the bus is invited into the Grand Union League against fifteen giants.
The opponents' decisions on the ball come from a small neural network (4 hidden units, 8-bit weights) running on the Next's Z80. It was trained by self-play in a PC simulation of the match and scored against statistics from real matches. The PC tools, a reference model of the match and the tests are written in TypeScript, on top of nextkit. The tests drive the game in the ZEsarUX emulator and check the Z80 against the model frame for frame. The pictures for the towns, pubs and title were painted with an image model and then pixelised to the Next's 256-colour palette.
It is in development. The matches, the tour across all five leagues, the squad, the four drills, the journey map and the calendar are playable, and the tour saves to the SD card.
Screenshots: the title screen, a match, Saltmouth, the road, the pub and a penalty, from the ZEsarUX emulator running the current build.
Match statistics from SkillCorner's open data, © 2020 SkillCorner, MIT licence.
Datasheet
- Platform
- ZX Spectrum Next (Z80N at 28 MHz)
- Screen
- 320 × 240: tilemap and Layer 2 pitch, hardware sprites for players and ball
- Leagues
- Five: England, Scotland, Wales, Ireland, then the Grand Union; 15 clubs each
- Match AI
- An 8-bit neural network on the Z80, trained by self-play, scored on real-match statistics
- Controls
- Mega Drive pad, Kempston joystick, or Q A O P and SPACE
- Saving
- One tour slot on the SD card
More projects
All projects- EmergencyA living world whose creatures are written by an AI as it runs: species rewrite their own code to survive, crown rulers, wage wars and pray to you, the hand above.Building
- NEXSTAR: Beyond the ChartA space trading, combat and RPG adventure for the ZX Spectrum Next: one number writes a whole galaxy of 65,536 sectors, and you start as a courier owing a man called the Broker 5,000 credits.Building
- nextkitA toolkit for making ZX Spectrum Next games: a WiFi deployer that puts the latest build of a game on the Next straight from the PC, plus the code, art tools and tests the games share.Live
- TrickyTradingAn AI trading desk. A desk lead agent, Lyra, runs simulated traders over historic and live market data and explains every decision through a web UI and an MCP interface.Live