Giter Club home page Giter Club logo

agoldencrown's Introduction

AGoldenCrown

Problem Statement: There is no ruler in the universe of Southeros and pandemonium reigns. Shan, the gorilla king of the Space kingdom wants to rule all Six Kingdoms in the universe of Southeros. He needs the support of 3 more kingdoms to be the ruler. Each kingdom has an animal emblem and Shan needs to send a message with the animal in the message to win them over. LAND emblem - Panda, WATER emblem - Octopus, ICE emblem - Mammoth, AIR emblem - Owl, FIRE emblem - Dragon. Your coding challenge is to have King Shan send secret message to each kingdom and win them over. Once he wins 3 more kingdoms, he is the ruler! The secret message needs to contain the letters of the animal in their emblem. For example, secret message to the Land kingdom (emblem: Panda) needs to have the letter 'p','n','d' at- least once and 'a' at-least twice. If he sends "a1d22n333a4444p" to the Land kingdom, he will win them over.

Sample Input and Output: Who is the ruler of Southeros? Ouput: None Allies of Ruler? Output: None Input Messages to kingdoms from King Shan: Input: Air, “oaaawaala” Input: Land, “a1d22n333a4444p” Input: Ice, “zmzmzmzaztzozh” Who is the ruler of Southeros? Output: King Shan Allies of Ruler? Output: Air, Land, Ice

Software Dependencies: Java8 Test dependencies: How to add Libraries in Intellij : https://www.jetbrains.com/help/idea/library.html Download dependencies from maven: powermock-api-mockito-1.6.5 powermock-module-junit4-1.6.5

or required jars can be found in lib folder

IDE support: IntelliJ IDEA

How to run application; Run the main method which is in src/MainClass.java

agoldencrown's People

Contributors

mahitha1467 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.