kaiks / unobot Goto Github PK
View Code? Open in Web Editor NEWA bot that intelligently plays irc variant on the uno card game
A bot that intelligently plays irc variant on the uno card game
Implement a command that would
Bonus:
4. implement version (like in ZbojeiJureq)
5. implement transactional loading:
a) make copies of all files
b) try to load a file
c) if SyntaxError is raised:
find a way with cinch to log caught exceptions
The algorithm would look like that:
Adversary card count is set to 6 when unobot starts the game because of this message:
[22:58:56] unobot's turn. Top card: [7]
Should be 7 cards.
When unobot goes second, the card count is correct.
bot responds to 1 message late with jruby 9k
The bot chokes at 8 cards, which should not be the case.
Even if we do 8! operations, that makes 40k and should not be taking more than 15 seconds.
E.g.: password protected host-based session that expires after a given amount of time
We need more and better tests to test for breaking changes and drive code refactoring
Need to implement a command that would save a game's history (possibly with debug messages) in a file and notify me
Bot gets lost when he has 8+ cards. E.g., it's not aggressive enough
Currently the bot only looks at probabilities based on cards that have not been played. It should also take into account what cards caused the adversary to pick a card.
e.g.:
bot has: y6, y8, ys, rs, r8, w
top card: r6
pl y6
pe
pl g6
bot should play wy rather than wr, because he knows that a doesn't have yellow cards.
once we know that the enemy doesn't have color X, we should remove it from potential card stack (for this turn at least)
same with figures
sometimes, the card count is not accurate
To include:
in order to be able to more accurately simulate possible worlds when heuristically evaluating plays
Playing a skip reduces adversary's card count. It should not.
W gets played before WD4 when adversary has only one card. Should most likely always be the other way around.
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.