Skip to content

Here's is the JAVA version of the BotAPI#11

Open
AakashSasikumar wants to merge 12 commits into
oyeb:developmentfrom
AakashSasikumar:development
Open

Here's is the JAVA version of the BotAPI#11
AakashSasikumar wants to merge 12 commits into
oyeb:developmentfrom
AakashSasikumar:development

Conversation

@AakashSasikumar

Copy link
Copy Markdown

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

@vasanthaganeshk vasanthaganeshk left a comment

Copy link
Copy Markdown
Collaborator

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

AakashSasikumar commented Feb 20, 2017

Copy link
Copy Markdown
Author

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

@vasanthaganeshk

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Author

Done

@vasanthaganeshk

Copy link
Copy Markdown
Collaborator

flush the buffers after printing.

@vasanthaganeshk

Copy link
Copy Markdown
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