Jump to content

The OBJECTION game


dedacct6

Recommended Posts

Objection!

 

Oh,the effects of the Orichalcos are starting early. :fiery:


                                                         Dolemite2.gif.1f535b74ff05826ca7dd78c9e5ec1078.gif                                                                              

Link to comment
Share on other sites

Objection!

 

You only lose your soul if you lose this case.

 

The loser loses their soul.


                                                         Dolemite2.gif.1f535b74ff05826ca7dd78c9e5ec1078.gif                                                                              

Link to comment
Share on other sites

Objection!

 

Traps or Magic cards don't work on my Seal of Orichalcos.


                                                         Dolemite2.gif.1f535b74ff05826ca7dd78c9e5ec1078.gif                                                                              

Link to comment
Share on other sites

OBJECTION_by_Phoenix_is_Wright.png

 

I don't have a soul to steal!

Edited by Stormgiggle

My OCs:  Dividend YieldStormgiggle | Ask Me questions! | My Counting Game


 


Jeric, on 25 Sept 2014 - 6:09 PM, said:img-29563-1-img-29563-1-snapback.png


Any problem that you may experience on this site can be solved immediately if you simply throw Fluttershy into a wood chipper.   You can trust me on this, because I'm an administrator. Would I lie?

Link to comment
Share on other sites

  • 2 weeks later...

img-3262012-1-OBJECTION_by_Phoenix_is_Wr

 

I lied about not having a soul!


My OCs:  Dividend YieldStormgiggle | Ask Me questions! | My Counting Game


 


Jeric, on 25 Sept 2014 - 6:09 PM, said:img-29563-1-img-29563-1-snapback.png


Any problem that you may experience on this site can be solved immediately if you simply throw Fluttershy into a wood chipper.   You can trust me on this, because I'm an administrator. Would I lie?

Link to comment
Share on other sites

OBJECTION!!!

 

Lots of funny looking code!

import java.util.Random; // Gets the random number utility.
import java.util.Scanner; // Gets the user input utility.

public class GuessingGame {
   public static void main(String[] args) { // PROGRAM STARTUP!
      Scanner input = new Scanner(System.in); // This Scanner is what allows the user to make their guesses.
      Random randomGenerator = new Random(); // This Random creates generator for the correct solution.
      for (int x = 1; x < 2;) { // This just initiates the game. I don't know why it's necessary.
         int correctNumber = randomGenerator.nextInt(15); // This int creates the solution.
         int guessesLeft = 4; // This is the number of guesses you have left. If I set it to 5, it will give you 6. That won't do, will it, now?
         System.out.println("Try to guess the right number in " + (guessesLeft + 1) + " guesses or less.\nEnter a number:"); // Starting prompt. Enter your number!
         int userInput = input.nextInt(); // This just waits for the user's input. if this weren't here, the game wouldn't register user input, and it'd be bloody useless.
         while (userInput != correctNumber && guessesLeft >= 1) { // This begins the loop that tells you you have a bad answer.
            String howClose = null; // String that tells you how close you are to the correct number.
            if(Math.abs(correctNumber - userInput) < 15 && Math.abs(correctNumber - userInput) > 12) { // These if statements initialize the howClose String based on how close to the number you are.
               howClose = "cold.";
            } else if (Math.abs(correctNumber - userInput) <= 12 && Math.abs(correctNumber - userInput) > 8) {
               howClose = "cool.";
            } else if (Math.abs(correctNumber - userInput) <= 8 && Math.abs(correctNumber - userInput) > 4) {
               howClose = "warm.";
            } else if (Math.abs(correctNumber - userInput) <= 4 && Math.abs(correctNumber - userInput) >= 1) {
               howClose = "hot.";
            }
            if (userInput > 14) { // If the user's input is too large, tell them to enter something valid.
               System.out.println("Please enter a valid integer. It must be at least 0 and at most 14");
               userInput = input.nextInt(); // This HAS to be here. If it weren't there'd be an infinite loop of "Please enter a valid integer." nextInt() just means "Wait until the next integer input."
            } else if (guessesLeft > 1) { // if your answer isn't correct:
               guessesLeft -= 1; // Decrement the guesses left...
               System.out.println("Sorry, that is incorrect. Try again. Your guess was " + howClose + " You have " + (guessesLeft + 1) + " guesses left."); // Display an "incorrect answer" message...
               userInput = input.nextInt(); // And wait for the next input.
            } else if (guessesLeft == 1) { // This is just here to make the computer seem more human.
               guessesLeft -= 1;
               System.out.println("Sorry, that is incorrect. Try again. Your guess was " + howClose + " You have 1 guess left.");
               userInput = input.nextInt();
            }
         }
         if (userInput == correctNumber) { // If you got the right number...
            System.out.println("Correct! You got it in " + (5 - guessesLeft) + " guesses!"); // Display the "you win" message with the number of guesses you got it in.
         } else if (userInput != correctNumber) { // If you didn't get the right number...
            System.out.println("Sorry, you ran out of guesses. The correct number was " + correctNumber + "."); // Display the "game over" message with the correct number.
         }
      }
   }
}

P.S. I actually wrote this all myself. It's a guessing game.

Edited by TheAnonBrony

MLP. Home sweet home. I forgot how nice the residents of Equestria could be. Anyone seen The Martian?

         __       ____        ____                                             
 /'\_/`\/\ \     /\  _`\     /\  _`\                                           
/\      \ \ \    \ \ \L\ \   \ \ \L\_\___   _ __   __  __    ___ ___     ____  
\ \ \__\ \ \ \  __\ \ ,__/    \ \  _\/ __`\/\`'__\/\ \/\ \ /' __` __`\  /',__\ 
 \ \ \_/\ \ \ \L\ \\ \ \/      \ \ \/\ \L\ \ \ \/ \ \ \_\ \/\ \/\ \/\ \/\__, `\
  \ \_\\ \_\ \____/ \ \_\       \ \_\ \____/\ \_\  \ \____/\ \_\ \_\ \_\/\____/
   \/_/ \/_/\/___/   \/_/        \/_/\/___/  \/_/   \/___/  \/_/\/_/\/_/\/___/
Link to comment
Share on other sites

img-3262012-1-OBJECTION_by_Phoenix_is_Wr

 

 

"Please enter a valid integer. It must be at least 0 and at most 14"
 

My OCs:  Dividend YieldStormgiggle | Ask Me questions! | My Counting Game


 


Jeric, on 25 Sept 2014 - 6:09 PM, said:img-29563-1-img-29563-1-snapback.png


Any problem that you may experience on this site can be solved immediately if you simply throw Fluttershy into a wood chipper.   You can trust me on this, because I'm an administrator. Would I lie?

Link to comment
Share on other sites

img-3262012-1-OBJECTION_by_Phoenix_is_Wr

 

You were given all the information you needed to figure it out!


My OCs:  Dividend YieldStormgiggle | Ask Me questions! | My Counting Game


 


Jeric, on 25 Sept 2014 - 6:09 PM, said:img-29563-1-img-29563-1-snapback.png


Any problem that you may experience on this site can be solved immediately if you simply throw Fluttershy into a wood chipper.   You can trust me on this, because I'm an administrator. Would I lie?

Link to comment
Share on other sites

img-3262012-1-OBJECTION_by_Phoenix_is_Wr

YOUR OBJECTION WAS TOO SMALL!!!!!


MLP. Home sweet home. I forgot how nice the residents of Equestria could be. Anyone seen The Martian?

         __       ____        ____                                             
 /'\_/`\/\ \     /\  _`\     /\  _`\                                           
/\      \ \ \    \ \ \L\ \   \ \ \L\_\___   _ __   __  __    ___ ___     ____  
\ \ \__\ \ \ \  __\ \ ,__/    \ \  _\/ __`\/\`'__\/\ \/\ \ /' __` __`\  /',__\ 
 \ \ \_/\ \ \ \L\ \\ \ \/      \ \ \/\ \L\ \ \ \/ \ \ \_\ \/\ \/\ \/\ \/\__, `\
  \ \_\\ \_\ \____/ \ \_\       \ \_\ \____/\ \_\  \ \____/\ \_\ \_\ \_\/\____/
   \/_/ \/_/\/___/   \/_/        \/_/\/___/  \/_/   \/___/  \/_/\/_/\/_/\/___/
Link to comment
Share on other sites

OBJECTION!!!!!

NOBODY TELLS OFF ANONYMOUS!!!!!!


MLP. Home sweet home. I forgot how nice the residents of Equestria could be. Anyone seen The Martian?

         __       ____        ____                                             
 /'\_/`\/\ \     /\  _`\     /\  _`\                                           
/\      \ \ \    \ \ \L\ \   \ \ \L\_\___   _ __   __  __    ___ ___     ____  
\ \ \__\ \ \ \  __\ \ ,__/    \ \  _\/ __`\/\`'__\/\ \/\ \ /' __` __`\  /',__\ 
 \ \ \_/\ \ \ \L\ \\ \ \/      \ \ \/\ \L\ \ \ \/ \ \ \_\ \/\ \/\ \/\ \/\__, `\
  \ \_\\ \_\ \____/ \ \_\       \ \_\ \____/\ \_\  \ \____/\ \_\ \_\ \_\/\____/
   \/_/ \/_/\/___/   \/_/        \/_/\/___/  \/_/   \/___/  \/_/\/_/\/_/\/___/
Link to comment
Share on other sites

Objection!

 

That looks more like a mix between Sheriff Bronson Stone and Mike Haggar.


                                                         Dolemite2.gif.1f535b74ff05826ca7dd78c9e5ec1078.gif                                                                              

Link to comment
Share on other sites

OBJECTION!

These past few posts are irrelevant to this very case! We must get back to the case at hand!


Yo! I'm Shenron00, but you can call me “Shen” if you want!

img-3351585-1-TYmaDVk.png

Thanks to WheatleyCore for the sig! BTW, yes, I do realize that's Carnage and not Shenron.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Join the herd!

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...