Skip to content

Commit

Permalink
add teststrat
Browse files Browse the repository at this point in the history
  • Loading branch information
RachitKumar205 committed Aug 13, 2024
1 parent 3267e3e commit 8b0a997
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions strategies/teststrat.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import random
import math
import numpy

from utils.types import History, Move


class Strategy:
def __init__(self) -> None:
self.name = 'Test Strategy'
self.description = 'No description provided.'

def begin(self) -> Move:
return random.choice(list(Move))

def turn(self, history: History) -> Move:
return random.choice(list(Move))

0 comments on commit 8b0a997

Please sign in to comment.