ErinvanderVeen / OOOO

the Overpowered non-Organic Othello Opponent
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Pure functions #7

Closed ErinvanderVeen closed 5 years ago

ErinvanderVeen commented 5 years ago

In state.h many of the functions should be made pure, this way they can easily be used in ai.h.

ErinvanderVeen commented 5 years ago

There are many functions that I still missed.

ErinvanderVeen commented 5 years ago

Creating pure function would drastically simplify the code for the AI, so I think it is a good idea. Especially considering that we work with uint64_t bitboards, the overhead should be very small.

ErinvanderVeen commented 5 years ago

Resolved in #16.