CppCompetitor - A program for dueling code bots.

Related tags

CLI CppCompetitor
Overview

CPP Competitor

CPP Competetior is a mini program that's let you battle code bots. To get it running you only need

  • A class for controlling the game's state
  • A class representing each player's action
  • An interface representing whatever the player can do

Tic tac toe

There's a sample implementation of TicTaeToe included. To write your own bot you need to implement a class inheriting from ITicTaeToeClient and implement the following 3 methods:

// Tells your bot whether it's going first.
// This also notifies your bot that a new game will begin now.
virtual void SetIsGoingFirst(bool goesFirst)
{
    ITicTaeToeClient::SetIsGoingFirst(goesFirst);
    //
}
// Returns the name of your bot.
virtual std::string GetName() const = 0;
// This is the core method of the bot.
// The board arguments lets you inspect the current state of the board and
// it's your job tell the game what you want to play.
virtual TicTaeToeTurn NextTurn(const TicTaeToeBoard& board) = 0;
Owner
Nikola Dimitroff
Nikola Dimitroff
Tool that generates unit test by C/C++ source code, trying to reach all branches and maximize code coverage

What is UTBotCpp? UTBotCpp generates test cases by code, trying to cover maximum statements and execution paths. We treat source code as source of tru

null 26 Jun 24, 2022
Windows command line program for Spleeter, written in pure C, no need of Python.

SpleeterMsvcExe is a Windows command line program for Spleeter, which can be used directly. It is written in pure C language, using ffmpeg to read and write audio files, and using Tensorflow C API to make use of Spleeter models. No need to install Python environment, and it does not contain anything related to Python.

Wudi 161 Jun 22, 2022
cpp-progressbar is a small console program I wrote in c++. 3 themes are available

cpp-progressbar cpp-progressbar is a small console program I wrote in c++. 3 themes are available (this program only works on linux) Instalation Downl

Zielino 3 Jun 17, 2022
Add a command-line interface to any C++ program

Add a command-line interface to any C++ program

Empirical Software Solutions, LLC 405 Jun 8, 2022
simple c program thats spawns a shell wants executed, this shell will detect your os and upon entering will erase or reset the system V1.0

kill-shell simple c program thats spawns a shell wants executed, this shell will detect your os and upon entering will erase or reset the system V1.0

RE43P3R 1 Oct 18, 2021
Traffic capture and intercept program based on Windows Filtering Platform (WFT)

Traffic capture and intercept program based on Windows Filtering Platform (WFT)

null 2 Oct 17, 2021
A new way to program in c++ for "Veneti"

VeneCode A new way to program in c++ for "Veneti" Come se usa VeneCode Scàricate Venecode.hpp Ficca el fojo nea cartea Inportar su c++ (#include "Vene

Zanella Matteo 2 Dec 18, 2021
This C program imitates what an 'ls' command does in UNIX like operating systems.

This C program imitates what an 'ls' command does in UNIX like operating systems. Arguments can be passed to the program to modify and filter the results from the command

Yusuf Ghodiwala 1 Nov 22, 2021
A CLI program that helps you find classes and plan pre-requisites. Written in C++ and Python.

CourseHelper A CLI program created to help you prepare for course registration. Note: At the moment, this project is built specifically for other UCLA

Kyle Chui 1 Jan 25, 2022
A program to help simplify the process of setting up Kirby Hats for EX Characters in Project+Ex builds.

lavaKirbyHatManager A program to help simplify the process of setting up Kirby Hats for EX Characters in Project+Ex builds, based on DesiacX's EX Kirb

null 3 Jun 18, 2022
A single header C++ library for parsing command line arguments and options with minimal amount of code

Quick Arg Parser Tired of unwieldy tools like getopt or argp? Quick Arg Parser is a single header C++ library for parsing command line arguments

null 44 Feb 21, 2022
null 76 Apr 18, 2022
DollarSkip is a short piece of C code designed to ignore the dollar symbol at the start of commands.

DollarSkip is a short piece of C code designed to ignore the dollar symbol at the start of commands.

null 19 Apr 15, 2022
A simple command line application in order to create new Code workspaces.

mkcws Summary A simple command line application in order to create new Code workspaces. License This project's license is GPL 2. The whole license tex

Kevin Matthes 0 Apr 1, 2022
This contains code and relevant schematics from my Applied Digital Signal Processing class, where we developed various digital filters on the NXP FRDM K22F development board.

#dsp_class Summary This repo is meant to hold any of the C and MATLAB programming I did over the course of my Applied Digital Signal Processing class

Abdullah Almosalami 1 Nov 11, 2021
Spitfire is a basic terminal language that can exicute code via the terminal.

Spitfire is a basic terminal language that can exicute code via the terminal. It is easy to learn and runs fast, considering that its just a 300 line c++ file.

jhomas tefferson 0 Nov 18, 2021
A command-line tool to generate Linux manual pages from C source code.

mangen A command-line tool to generate Linux manual pages from C source code. Description mangen is, as said above, a program to generate Linux manual

null 2 Nov 15, 2021
Advent-of-Code: 2021 Edition

?? ?? Advent of Code 2021 ☃️ ❄️ Description Advent of code 2021 Awesome Advent of Code Advent of Code is an Advent calendar of small programming puzzl

Lento Manickathan 6 Apr 5, 2022
This is the massive repository for all code for the class CIS3250 Fall Semester.

========================================== Transforming Shapes Through Matrix Multiplication ========================================== Description o

null 4 Nov 25, 2021