Skip to content

Conversation

@AakashSasikumar
Copy link

Make sure to test this out with a lot of different inputs

the main class for the bot api written in JAVA
the api for the bot functions written in JAVA
read the readme
Copy link
Collaborator

@vasanthaganeshk vasanthaganeshk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of in.next() use in.nextLine()

fixed a small bug
fixed a small bug
@AakashSasikumar
Copy link
Author

AakashSasikumar commented Feb 20, 2017

There you go, I made the change, it should work with spaces too

@vasanthaganeshk
Copy link
Collaborator

Please write a make file to compile

made a small change
can test out the code by just executing the jar file(java -jar BotAPI.jar)
@AakashSasikumar
Copy link
Author

Just execute the jar file, and check it out, I've packed it with the dependencies.

this is the updated version of the jar file(includes in.nextLine())
@vasanthaganeshk
Copy link
Collaborator

For the engine to acknowledge the bot, it has to print I'm Poppy! initially

added the poppy thing
need to delete to add poppy
added the poppy thing to the jar file
@AakashSasikumar
Copy link
Author

Done

@vasanthaganeshk
Copy link
Collaborator

flush the buffers after printing.

@vasanthaganeshk
Copy link
Collaborator

also put the whole thing in Main.java in an infinite loop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants