Welcome to the React frontend/Nodejs template client for Digital Ungdom's DYI-Client Battle Royale!

How to create for own client (for joining the game!)

Clone (Download) this repository and open src/customClient/index.js.

Inside index.js you can change the username and class of your bot!

Next go to src/customClient/Client.js.

Inside Client.js you can add your own code that allows your bot to react to bullets and others players. Add this code to the onUpdate() function.

When you want to test your bot simply go to your terminal and run npm run start-custom-client and then go to http://173.212.232.13:52301

How to start the frontend (for viewing the battle)

Go to your terminal and run npm run start.