raaperrotta / nothanks Goto Github PK
View Code? Open in Web Editor NEWBeginners' No Thanks AI Competition in Python
Beginners' No Thanks AI Competition in Python
I botched my git control apparently and have been working with an outdated version of nothanks.Game that played the game incorrectly! (It never dealt the last card and rotated players even after taking a card.)
This should have been obvious based on our unit testing. We should add tests to make sure the game rules are implemented correctly.
Right now, strategies are imported and instantiated manually. This isn't a terrible way to go, but isn't great either. Can we do better? We could use importlib
to import them by name if we specify a class name for the strategy (for example, Player
, like in nothings.py
and threshold.py
.)
We should catch exceptions raised in player modules within nothanks.Game. What should the default behavior be?
I suggest:
Pass is the player has any coins, take only when needed (just like the nothanks.Player base class).
The python type set is already sorted. No need for that additional dependency.
What number of players should compete?
How many games?
What pot size?
Should strategies be able to appear more than once in a game (and have to play themselves)?
How do we crown a victor?
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.