Skip to content

wasoxygen/hydra

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The hydra game

The Hydra is a rooted tree. The object of the game is to chop off all its heads (the blue disks). At step n, when you cut a head, the Hydra will grow n new copies of the tree growing from the neck at which the head was cut.

A theorem by Paris and Kirby [1] states that you always win, no matter how you chop the heads, but it takes a rather long time to chop down a hydra. Paris and Kirby also showed that Peano arithmetic does not prove that hydra always loses.

The Hydra game was implemented by Andrej Bauer using a technology invented in the twentieth century known as "Java." The "applet" depended on NPAPI which was powered by a steam engine.

Fork moved to standalone repository https://github.com/wasoxygen/hydraHTML5

work in progress

References

[1] Laurie Kirby and Jeff Paris: Accessible Independence Results for Peano Arithmetic. Bull. London Math. Soc. 1982; 14: 285-293.

About

The combinatorial Hydra game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.3%
  • CSS 6.2%
  • HTML 4.5%