Skip to content

da-cali/victor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Victor

A Codenames bot. This is a WORK IN PROGRESS, but if you want to try the prototype:

0. Install Poetry.

1. Clone repository:

git clone https://github.com/da-cali/victor
cd victor

2. Install dependencies:

poetry install

3. Run demo.

poetry run python play.py

Example game.

Loading model...

Please enter the codenames (separated by spaces).

Red agents:
bite poetry television dancing fugue japan mediterranean bag

Blue agents:
medical disrespectful toy lake purple wisdom smell eye

Bystanders:
lemon nugget destroyer tacky comic gorilla cheeseburger snow

Assasin:
guitar

---------- RED team turn ----------

RED spymaster:
Objective: ['dancing', 'fugue', 'poetry'] 
Clue: 'mazurka' for 3.

RED operatives:
Guess: fugue
✔️
Guess: dancing
✔️
Guess: poetry
✔️

---------- BLUE team turn ----------

BLUE spymaster:
Objective: ['purple', 'smell'] 
Clue: 'aroma' for 2.

BLUE operatives:
Guess: smell
✔️
Guess: lemon
✖️

---------- RED team turn ----------

RED spymaster:
Objective: ['japan', 'mediterranean'] 
Clue: 'greece' for 2.

RED operatives:
Guess: japan
✔️
Guess: mediterranean
✔️

---------- BLUE team turn ----------

BLUE spymaster:
Objective: ['lake'] 
Clue: 'river' for 1.

BLUE operatives:
Guess: lake
✔️

---------- RED team turn ----------

RED spymaster:
Objective: ['bag', 'bite'] 
Clue: 'wallet' for 2.

RED operatives:
Guess: bag
✔️
Guess: bite
✔️

---------- BLUE team turn ----------

BLUE spymaster:
Objective: ['purple'] 
Clue: 'pink' for 1.

BLUE operatives:
Guess: purple
✔️

---------- RED team turn ----------

RED spymaster:
Objective: ['television'] 
Clue: 'TV' for 1.

RED operatives:
Guess: television
✔️

Red team wins.

Authors:

Implementation: dacali.

Releases

No releases published

Packages

No packages published

Languages