Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grush Arena

C++20

A tournament arena for bot programming competitions based on the custom game Grush (Gold Rush).

Overview

Grush is a turn-based strategy game where AI-controlled agents compete to collect gold and eliminate opponents. This project provides an arena program that simulates games between competing bots.

Bots read game state from standard input and output their actions, allowing implementation in any programming language. The arena handles game logic, enforces rules, and provides visual feedback through a simple text-based output.

Creating Your Own Bot

  • Read the complete Game Rules to understand the protocol
  • Implement your strategy in any language that can read from stdin and write to stdout
  • Test against the example bots

Building

  1. Prerequisites
  • C++20 compatible compiler
  • Boost C++ Library
  • Make build system
  1. Clone the repository
git clone https://github.com/achstu/grush-arena.git
cd grush
  1. Compile arena program and example bot
make -C src/
make -C example/
  1. Run with
./src/arena ./example/bot ./example/bot.py

About

Gold rush strategy game.

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages