A fantasy war, carried into the browser

Xi7 Wesnoth

Battle for Wesnoth, running in the browser — Xi7's engineering port.

  • Engineering
  • Browser implementation

The world

Battle for Wesnoth's turn-based fantasy campaigns, running inside a web page. Xi7's part is the engineering: the WebAssembly build, the browser shell, saving in the browser and add-on support.

Battle for Wesnoth is a free, open-source strategy game created by David White and developed by the Wesnoth project and its community. Its code is licensed under the GNU GPL; its art and music under the GPL or CC BY-SA 4.0, by their individual authors. The pictures here are captures of Xi7 Wesnoth, our browser implementation; Xi7 did not create the original game or its assets, and is not affiliated with the Wesnoth project. wesnoth.org

Story art and campaign graphics by their authors, under CC BY-SA 4.0 / GPL. Heir to the Throne: doofus-01, Emilien Rotival (LordBob), Francisco Muñoz (fmunoz), Kathrin Polikeit (Kitty), Neoriceisgood, Richard Kettering (Jetrel). A Tale of Two Brothers: Arkadiusz Danileki (szopen), Kathrin Polikeit (Kitty), MadMax, Stefan. Liberty: Brendan Sellner, Kathrin Polikeit (Kitty), Shadow, Blarumyrran, Sonny T Yamada (SkyOne), Dalas.

Highlights

  • The full game compiled to WebAssembly, reduced from 327 MB to 62 MB
  • A staged loader that checks the browser first and reports problems clearly
  • Saves, preferences and add-ons kept in the browser
  • Fullscreen handling and an allow-listed add-ons connection
  • Three engine fixes suitable for the upstream project
Next world Xi7 FPS Project

All projects