I need some advice with a java quuestion-game
Hi I want to create a game but a very simple one that just uses questions
to determine what the player does, but I can't seem to figure out how to
write the code (Java) so that the computer can accept any variation of a
similar answer, I have been trying to use an if/else statement but for
that the answer the user gives has to be exact if I use .equals(). Any
help will be accepted. Thanks
No comments:
Post a Comment