gullesnuffs / codenames Goto Github PK
View Code? Open in Web Editor NEWA codenames bot playing the part of the spymaster.
A codenames bot playing the part of the spymaster.
Should really do dependency tracking, and build .cpp files into .o files.
Currently we build each file twice, due to calc.cpp; builing .o files would fix that as well.
Some words on the board are quite vague and far from other words. Can we increase their norms, to give equal consideration to all words on the board?
It's not appropriate. (Maybe make a Dictionary class?)
It finds a clue for index=0, but fails for index >= 1.
To more explicitly test all possible meanings of them. When you play codenames, you try to give more equal consideration to obscure meanings of words and to common ones than you'd normally do.
E.g. verbs are currently similar to other verbs, which is natural, but not what we prefer for codenames clues. Maybe one can do some smart linear algebra thing??
I get the following error when trying to use the default g++ on my up-to-date version of MacOS.
codenames.cpp:1:10: fatal error: 'bits/stdc++.h' file not found
#include <bits/stdc++.h>
Let's say we do a couple of hundred manual rankings of orders for the top 5-10 words for various clues. We could then:
Aron suggests using Mechanical Turk, not so much because it gives good results as because it would be really fun.
We should take the model as a command line argument instead (for both ./calc and ./codenames)
Seems like it ought to weigh more specific words higher, e.g. like how glove uses norms. Or compare nearness with a useless string?
"gotta" is a terrible clue. Maybe it has low norm also, because it doesn't mean very much? Let's make the program print the norms and see if we can make out anything from them.
For usability we want only lower-case words. But glove contains both upper- and lower-case words, and sometimes with different meaning... Take weighted averages, or just the most common version?
When the opponent has only one or two clues left:
So it fits on a phone, for instance. Currently the word2vec model uses ~50MB, which we could reduce by:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.