Skip to content

wunderdogsw/wundernut-vol10

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Doggolang

Spring 2019

(Find our other wundernuts here)

The mission

We need your help!

The dogs have developed a new programming language to advance their control over the world!
We have obtained some samples of their source code and have deciphered most of it but can't put it all together.
This is where your special skills are needed: write an interpreter and run the very important code to reveal its secrets!

This is what we know:

lassie AWOO 5
luna AWOO 6
bailey AWOO lassie WOOF luna
bailey

result is 11

roi AWOO 5
RUF? roi YAP 2 VUH
  roi AWOO roi ARF 3
ROWH
  roi AWOO roi WOOF 100
ARRUF
roi

result is 15

roi AWOO 5
RUF? roi YIP 2 VUH
  roi AWOO roi ARF 3
ROWH
  roi AWOO roi WOOF 100
ARRUF
roi

result is 105

quark AWOO 6 BARK 2
gromit AWOO 5
milo AWOO 0
GRRR milo YIP gromit BOW
    quark AWOO quark WOOF 3
    milo AWOO milo WOOF 1
BORF
quark

result is 19

Please run this very important code and return the result and your interpreter source code to us as soon as possible:

samantha AWOO 1
hooch AWOO 500
einstein AWOO 10
fuji AWOO 0
GRRR fuji YIP hooch BOW
    samantha AWOO samantha WOOF 3
    RUF? samantha YAP 100 VUH
      samantha AWOO samantha BARK 1
    ROWH
      einstein AWOO einstein WOOF 1
      samantha AWOO samantha ARF einstein
    ARRUF
    fuji AWOO fuji WOOF 1
BORF
GRRR fuji YAP 0 BOW
    samantha AWOO samantha WOOF 375
    fuji AWOO fuji BARK 3
BORF
samantha

Your's truly,
Leader Of Litter, Cat At Top

General rules:

  • You can use any programming language to solve the problem.
  • The solution must include the source to general Doggolang interpreter that can run any Doggolang code.
    Find and replace type of solution is not an answer we are looking for.
  • The winner will be the most elegant solution, decided by the Wundernut jury.
  • The participant gives Wunderdog the right to publish their source code used in the submitted solutions.
  • Submit your solution via the form in here by June 2nd 2019 2:00am.
  • The winner is chosen by our Wunderdog jury and he/she will be awarded with Withings Steel activity watch. The jury meets on the 7th of June.