Skip to content

lennart-finke/hackenbush

Repository files navigation

Then, when I discovered surreal numbers, I realized that playing games is mathematics. --- John Conway

Hackenbush: Pocket Edition

This project is an implementation of finite Red-Blue Hackenbush, mainly for mobile devices. Hackenbush is a simple and fun puzzle game that led to the discovery of a very large, fascinating algebraic structure, the surreal numbers. It was invented by John Conway.

The aim of this project is to promote combinatorial game theory by giving fans of Hackenbush an easy way to demonstrate it, and potentially to teach it to new players as well.

Screenshot

Where to Play

You can download an APK on the releases page, install via the Play Store or build it yourself by opening the project in Godot 3. While performance and stability is not guaranteed, here is a browser version, too!

Features

The project is still in development, but these features are already implemented:

  • Computer Opponent
  • Local 2-Player Mode
  • Rudimentary Level Editor
  • Calculation of the surreal number associated with a position
  • 32 Levels

The issues page lists some future feature ideas.

Heritage

Hackenbush: Pocket Edition is made in Godot Engine and steals the difficult part of its logic from a great Hackenbush implementation for Mac and PC, by Tom R. Davis. The pixel font is by Kawika Heftel, licensed under CC0. Thanks!

Since Tom Davis' version is under the GPL 2.0 license, so is this project.


Further Reading

And apparently, Critical Acclaim

This game won the German National Multimedia Award mb21, which you can read more about here in German. Many thanks to the jury!