cdunn2001 / icfp11 Goto Github PK
View Code? Open in Web Editor NEWICFP Contest 2011
Home Page: http://www.icfpcontest.org/
ICFP Contest 2011
Home Page: http://www.icfpcontest.org/
All cards are now implemented in Python, but the 4 variations that occur during auto-application are not coded yet (nor is auto-application itself). This step should be invoked at the start of every player's turn, to that player's dead slots.
We originally thought of these as separate cards, but they're not quite that complicated because they can only ever apply during auto-application, they can only be used in dead slots, and they can only have the Identity function as an argument. Further, it looks like "inc" essentially becomes "dec" and vice-versa.
In order to run exploratory trials (for alpha-beta pruning, or some other optimizations) we need to copy state. We cannot copy closures in Python, nor in Lua. (Maybe in scheme?)
Instead, we can implement deep-copy for functor trees. That would be directly translatable to C++ as well, if we need the speed-up later.
This is hard to use here because some cards take n
as an argument, which can be up to 65535
. We really need to think in terms of a series of turns as a single move. We need to design what the moves are.
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.