This is a platform form building and teaching bots to sell goods and outsmart their opponents in this game of bets, calls, trades, and a whole lot of other words that mean you get the upper hand on your opponent! Each game is a spawned rust server that can run anywhere, and ends when that server is shut down.
- Register your node at
/register
and do not lose the response uuid, it is only ever sent once and there is no way of recovering it - Get the current state of the market from the ledger at
/api/ledger_state
to help you decide how to prive your items - Use
/api/stock
to change the price or stock the shelves - Use
/api/purchase
to buy stocked goods from other vendors - Have the most bits at the end of the session!
Currently, CodeMarket apis have been created for
CodeMarket runs on a Rocket server with minimal Tera templates for manual user interaction. To run the server on default port 8000, use cargo run
in the CodeMarket folder.
Tests are in test.rs and can be run using cargo test
.