Empirical
Public Types | Static Public Attributes | List of all members
emp::Othello_Base Struct Reference

Base class for all sizes of Othello games. More...

#include <Othello.h>

Inheritance diagram for emp::Othello_Base:
emp::Othello_Game< BOARD_SIZE >

Public Types

enum  Player { NONE =0, DARK, LIGHT }
 
enum  Facing {
  N, NE, E, SE,
  S, SW, W, NW
}
 

Static Public Attributes

static constexpr size_t NUM_DIRECTIONS = 8
 Number of neighbors each board space has. More...
 

Detailed Description

Base class for all sizes of Othello games.

NOTE: This game could be made more black-box.

Member Enumeration Documentation

Enumerator
NE 
SE 
SW 
NW 
Enumerator
NONE 
DARK 
LIGHT 

Member Data Documentation

constexpr size_t emp::Othello_Base::NUM_DIRECTIONS = 8
static

Number of neighbors each board space has.


The documentation for this struct was generated from the following file: