Skip to content

ethanuppal/bwmodel

Repository files navigation

bwmodel: A modeling environment for Minecraft Bedwars

CodeFactor CI Badge

This project is an API for creating predictive models for Minecraft Bedwars—as well as an implementation of such models—using only information that would be available to a player. The idea is that a computer can process much more than a human brain can. For example, when one player kills another, it is likely that it was in hand-to-hand combat. If a probability distribution of player locations is maintained, we can update them to reflect this new information.

Usage/Building

You can use this project through the Makefile. You must have C++17.

make         # builds the ./main script
make run     # builds and runs the ./main script
make library # builds efsw (used for file watching)
make clean   # removes auxillary and executable files
make test    # runs the tests

cmake > 3.15 is required to build efsw.

make run will run a testing script for the latest model. You can see all models in src/models/. Developing a new model is as simple as implementing the GameDelegate interface.