Give a sample? Help!
Joyonta Saha
Level 31
How to test the chat bot?
Under discussion
Comments (7)
- Popular
- New
- Old
You must be signed in to leave a comment
Joyonta Saha
28 July 2019, 04:27
Can you tell me the process of playing Snake and Arkanoid games? It seems like they auto play when I run those games!
0
Nithin
28 July 2019, 04:41
for arkanoid game run the code and then use left or right arrows to move the paddle . if you didn't understand whether it is moving or not hold the key and the paddle will move.I think ball will automatically moves.since it is console based it won't seem to make sense at first.
0
Nithin
28 July 2019, 04:43
same with up, down , left ,right arrows for the snake game but in my code i missed the keyboard Observer class in the last part, so i'm unable to run it. But try the above process and see if it works.
Also if you have any furthur doubts please reply to my comment otherwise i won't get a notification that someone replied to my comment
0
Joyonta Saha
29 July 2019, 12:32
Key pressing does not make any impact on any of the games..seams like games are automated
0
Joyonta Saha
28 July 2019, 04:26
Thank You Nithin!
0
Joyonta Saha
28 July 2019, 04:19
By the way, how can I run different classes parallelly in Intellij IDEA ?
0
Nithin
27 July 2019, 15:53
1) in IntelliJ first run the server and enter the port.
2) run the client and enter server as localhost(if using own computer) and then enter the same port as entered for the server.
3)run the bot_client same as client.
4) now enter any message in client it will appear in bot
5) you can create as many clients as possible. just create a new class say client_1.java and make it inherit the client class and follow step 2. You chat bot is ready :)
+1