Skip to content
A short program to slash the three headed and three tailed monster
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
.gitignore
README.md
main.go

README.md

monsterslash

A short program to slash the three headed and three tailed monster

Let's slash a monster. Here are the rules:")

  • The monster has 3 heads and 3 tails.")
  • You have a SWORD and you can choose between these actions:")
  1. Slash off ONE HEAD. Result: one head will grow back.")
  2. Slash off TWO HEADS. Result: monster will loose two heads!")
  3. Slash off ONE TAIL. Result: TWO tails will grow back.")
  4. Slash off TWO TAILS. Result: one head will grow back.") The question is: Can you slay the monster, and in how many turns?

This program is

You can’t perform that action at this time.