Skip to content

DarkJaslo/EDA-game-Q1-22-23

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

EDA-game-Q1-22/23

Tropotron ( The Walking Dead - FIB - Q1 2022-2023 )

Welcome! This was my submit for UPC's Computer Engineering (FIB)'s subject EDA's game, carried out in November-December 2022. I'm glad it made it to the final.

Contains my bot (Tropotron) and all required files to run the game in game.zip. Please note that I just made AITropotron.cc and the game tester tester.cc. Everything else is credited in README.txt inside game.zip.

game.zip also contains all information regarding the rules and running matches, as well as the game's API, in a couple .pdf files.

Important notes

  • game.zip/aux contains two .o files that get deleted when using make clean, so you can easily copy them back if the game does not compile.
  • You can use my tester (tester.cc located in game.zip) to run matches and compare bots. Compile tester.cc and run it with this format: ./tester <number_of_games> <name_1> <name_2> <name_3> <name_4> <number_of_cores>, where name_x is just the name of the bot. For instance, if your bot is called AITropotron.cc, its name would be Tropotron. Regarding number_of_cores, it should be the number of threads your CPU supports, as this program uses very simple parallel code and it needs this information to work properly.
  • The games run slowly! Don't expect the tester to be able to run many tests in a couple of seconds. I used a fairly powerful PC to run my own tests, and 10000 tests would take about half an hour using just my bot (which happens to be quite optimized). I recommend running 100 to have an approximate idea and if results still aren't clear, use 500 or 1000. With 1000 or more, the statistical noise gets low enough.
  • You can match bots against Dummy, which was considered by our professors as the bare minimum we had to reach to pass. If you really want to waste your time (and electricity), try running games with Tropotron and three Dummies until a Dummy wins.
  • You may be able to find more information (which might not be useful to you) inside Tropotron.cc or tester.cc.

Releases

No releases published

Packages

No packages published

Languages