Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sends planet info to bots #16

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

LinuxlasGNUleaf
Copy link

Sends the planet positions, radii and masses for all planets once a player switches to bot mode.
Also sends this information to ALL registered bots once the field resets.

@Draradech
Copy link
Owner

The fact that bots don't have information about planet position was supposed to be a balancing mechanism. This way, writing a bot that can outperform a good human player is non trivial, and bot to human crossplay is interesting. If the bot has all the information, it can just recalculate every shot and get a hit every time.

That said, I'm not opposed to merging this if you make it a config option with default 0. config.c is a bit janky, but should be easy enough to understand.

@LinuxlasGNUleaf
Copy link
Author

That's a fair point, I've addressed that and made it a default-off config option called "sendplanets".

@LinuxlasGNUleaf
Copy link
Author

Hi, I'm just wondering if you're still interested in merging this? I made the requested changes after all :)

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