First version of simple bot#2
Open
annadhm wants to merge 1 commit into
Open
Conversation
Collaborator
the-other-thanos
pushed a commit
that referenced
this pull request
Jun 3, 2026
Ez3k4 illustrator Adds the option to to capture statistics of one run with the flag --stats [optional: output filename.png] We can have the visualization also as a mp4 file by giving the visualization output filename the .mp4 filetype !!!ffmpeg needs to be installed Added some small optical changes to the visualization itself (gold labels next to the bots)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Hey guys👋,
I've just finished my first implementation of the bot.
I kept it simple, basing my implementation on MyNonRandomPlayer from the test version. So, the bot moves in the direction of the gold.
I made some additional changes:
This is useful if the way to the gold is known, as the gold can be reached in one round.
However, for now, the bot always decides to make all financially feasible moves, even if the gold cannot be reached, which leads to a situation where there is not enough gold left to move.
I thought this could be useful if we have a lot of gold because we can reduce the gold of other players (I know, quite mean 🤓), but I noticed while testing that only the player who performs the ram move has their gold reduced.
This behaviour also leads to an endless loop in a low gold state. The same moves are performed over and over again.
So I don't think this strategy is the smartest way to go for us.
Before I fix these issues, I thought it would be better to look at your implementation first in case this bot won't be our submission.