Code for a lucky 7 game. Initial balance is 100 Rs. User will get option to click on Play button. If he clicks play, 10 Rs. will get deducted from balance. Then he can select his bet from 3 options : Below 7, Lucky 7, Above 7. Then he can click Roll Dice option. Two dice should get rolled, and total of outcome of both dice should be below 7. Suppose I got 3 on one die and 2 on another die. Then total is 5 which is below 7, So I should get message "Congratulations! You Win!" if outcome is above 7 then user loses game. If user wins, 20Rs will get credited to his balance. Suppose user bet is Lucky 7 and dice total outcome is also 7, then 30Rs will get added to his balance. Also below win or loss message, he should get two options: "Continue" or "Reset and Continue". Continue will keep current balance intact and provide option to bet and roll again. "Reset and Continue" will reset Balance back to 100Rs and provide option to bet and roll again.
Software Engineer Web Developer Interview Questions
23,598 software engineer web developer interview questions shared by candidates
Write Anagrams Detection Function
Pourquoi voulez vous quitter votre poste actuel ?
SQL queries and joining tables
Explain the project. I worked on
What is the difference between an interface and abstract class?
What is an overloaded method?
What is separation of concern?
Difference between array and dictionary.
Difference between relational and non relational db?
Viewing 3181 - 3190 interview questions
See Interview Questions for Similar Jobs
Software Engineer Web Applications DeveloperSoftware Application DeveloperRuby DeveloperSoftware Applications DeveloperSenior Backend EngineerWeb Development EngineerSenior Software Engineer PhpWeb Applications EngineerSoftware Engineering Java DeveloperWeb DevelopSoftware Developer EngineerSenior Java Web DeveloperSr Web DeveloperSoftware Engineer Software DeveloperSoftware DevelopersJava Web Applications DeveloperBackend EngineerSoftware Engineer, Software Developer