Git Product home page Git Product logo

lab-flames's Introduction

Image description

ProGrad Lab | FLAMES

A Quick Introduction

We all would have heard or in fact played the FLAMES game atleast once. Logically the game doesn't make a lot of sense, but it definitely is a lot of fun. And hence we thought, why not build it with the help of our ProGrads?

(If you haven't heard of this game before, then quickly google it up & understand before you proceed)

What should you do

Fork this repo
Clone this repo
Practice Java basics - operators, conditions, loops, class and object

How To Submit

Upon completion, run the following commands:

git add .
git commit -m "ProGrad ID"
git push origin master

And finally, create a pull request so your ProGrad Mentor (PM) can review your work.

Instructions

  1. Do not modify the entire code.
  2. Edit the code as per the instructions.
  3. Go to Java Resources -> src folder.
  4. You will have two packages src/controller and src/service.
  5. You need to modify src/controller/FlamesCheck and src/service/FlamesCheckService.
  6. Once the progressions are completed follow the instructions to run the application and test your code.

Run the Project

  1. Right - click on the project.
  2. Go to Run as -> Run on server.
  3. You can check the output in eclipse browser or in your browser.

Testing

  1. Uncomment the code inside Java Resources - src -testing - TestFlamesCheckService class file.
  2. Right - click on the project
  3. Go to Run as -> Junit Test.
  4. All the testcases must be evaluated.

Input Format

  1. Input consist of 2 strings - name1 and name2

Output Format

1 Output is a character that corresponds to the 'F','L','A','M','E','S' values

Progression - 1

  1. Open the class file FlamesCheckService inside JAVA Resources - src - service.
  2. Create a public class called FlamesCheckService.

Progression - 2

  1. Create a public method called findFlames of type character
  2. Your method takes 2 Strings as input and returns a character as output.
  3. Calculate FLAMES and return a character.

Bonus

  1. Print the names in console
  2. Print the love character and the corresponding match
Your name is ProGrad.
Your partner name is FACEPrep.
You two are "LOVERS"

Happy Coding ProGrad ❤️

lab-flames's People

Contributors

prograd-org avatar coder-venkateshs avatar agarwalprashasti avatar

Watchers

James Cloos 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.