Giter Site home page Giter Site logo

paintbot's Issues

Set default obstacles to 50

The default game settings should have number of obstacles to be 50 for a more fun and engaging environment

Document API

At least provide JSON-examples of API

  • Endpoints
  • Websocket messages

Client API: Ownership of Tile

Add to the client utils for all clients that it should be easier to check if a tile is coloured and by whom.

Right now you have to loop over all characters, check their coloured positions and see if that matches a tile.

Might wanna change this before the tourny

Hi cygni / maintainers of paintbot!

I am currently just going through the source code in order to automate some parts of my training model for my bot and I stumble upon how you have implemented authorization. Cool I first thought, I can use it to get the token to authorize some websocket calls. But then out of curiosity, I tried the usercredentials on the live website aswell, and yeah.. Bad news. I got authorized.

Skärmavbild 2021-04-29 kl  18 53 20

I hope this can be changed before the tournament starts, because this will break the fairness of the game, if someone outside of the organizers gets hold on an auth-token.

Map<String, String> users = new HashMap<String, String>() {{
put("emil", "lime");
put("chen", "nehc");
put("johannes", "sennahoj");
}};

Just change the usercredentials for the live server.

Thanks for hosting this, and I hope I will get a seat.

I am currently the 1st on the waiting list (Accordingly to Josefina, A.)

Add jitter to collision stun

Problem: Two bots may end up indefinitely stunning each other by headbutting for the same tile over and over again

Proposed solution: Add randomness to the stun duration for collisions which would allow one bot to escape an aggressor.

  • Add setting for minimum stun duration
  • Add setting for maximum stun duration
  • Change collision stuns to be random between min and max

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.