Mechanical bugs: This series includes all kinds of moving creepy insects, these micro robotic creatures look like real insects and come with intelligent bug-like features. Nano: These are tiny, micro robotic creatures that are motor-powered and can sense obstacles and quickly navigate around them. While Hexbug is primarily known for its creepy insect toys, they also make RC cars and construction toys (under the VEXRobotics line). On tournament day, image names will be collected from participants.Hexbug makes a variety of micro robotic creatures and are available in different shapes and various colors. An art competition, where conference attendees will vote on the best art piece created by your bot.A rock/paper/scissors competition, run tournament bracket style.The Tournament will consist of two competitions You can then create a gif as such: IMAGE_PATH =/path/to/ascii/folder ascii and willīe loaded in alphabetical order to create frames. To speed up ASCII Art testing, there's a utility built in to the battlebot runner to generate GIFs from ascii art filesĬreate a folder and fill it with files representing the frames of your gif. Rps $P1_NAME $P1_IMAGE $P2_NAME $P2_IMAGE /art -rounds 11 Testing ASCII Art v /var/run/docker.sock:/var/run/docker.sock \ĭ/tylerlubeck/battlebots/battlebots:latest \ You can test with friends, you can use the same as P1_IMAGE and test against yourself P2_IMAGE =opponentimage To test your bot using the same bot runner that will be used for the tournament, run the following # P1_IMAGE should be set to the name of your docker image P1_IMAGE =yourimage We're using external docker repositories over any internal image repositories for security, cost, and ease-of-use reasons. ![]() This is to prevent people from using external resources to track other bot performance.ĭocker images must be published to either Docker Hub or Github Packages. Note: network=none means that your code will not be able to access any form of network or internet at runtime. Note: containers will be given 5 seconds to run, after which they will be forfeit and be terminated Note: HISTORY will be an empty string for the first round, and your bot must be able to handle that. Output Basic OutputĮach bot is expected to output, on a single line, a json formatted dictionary of the form " Is not valid for the output of your program - you must output the full words, in all caps. This history string abbreviates "rock" to "r", "paper" to "p", and "scissors" to "s". In the second round, player one played "scissors", player 2 played "paper", and player 1 won.In the first round, player one played "rock", player 2 played "paper", and player 2 won.We know there have been two rounds so far in the game, and we're on round 3.If the provided history looks like rp2 sp1 then String of 3-tuples separated by characters.Įach of the 3-tuples is of the format (player-one-hand,player-two-hand,winner) History Example ![]() Winner is random.choice() Calling Conventions Inputīots will be called with the entire game's history as the only command line parameter. Exampleīoth players have played ROCK the same number of timesīoth players have played PAPER the same number of times ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |