Skip to content

CodeNamesIA is a project aimed at mimicking human-like gameplay in the Codenames board game

Notifications You must be signed in to change notification settings

PinyaColada/CodeNamesIA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

CodeNamesIA


CodeNamesIA

An intelligent agent playing Codenames as both Spymaster and Spy
Explore the docs »

View Source · View main.py · Request Feature or Report Bug

CodeNamesIA

CodeNamesIA is a project aimed at mimicking human-like gameplay in Codenames. The agent plays as both the Spymaster and the Spy. While optimal play is straightforward (mapping each combination to a word), CodeNamesIA employs a more human-like approach.

The agent uses the GloVe (Global Vectors for Word Representation) model to convert words into 300-dimensional vectors. It then selects words that are most likely to give the highest score based on these vectors. As the Spy also uses the same GloVe model, it rarely makes mistakes, making it challenging but not impossible to win against the agent.

CodeNames agent Demo

Display of the agent playing both sides

(back to top)

Features

CodeNamesIA includes the following features:

  • GloVe word embeddings to convert words into 300-dimensional vectors
  • Intelligent hint generation by the Spymaster
  • Accurate word selection by the Spy based on hints
  • High-level human-like play strategy

(back to top)

About

CodeNamesIA is a project aimed at mimicking human-like gameplay in the Codenames board game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages