Giter Site home page Giter Site logo

ferrousbueller's Introduction

Space Tyckiting Rust client

Rust logo

Synopsis

cargo build
cargo run -- # [options]

Prerequisites

Rust

If you don't have qualms with running scripts from the Internet without checking, you can.

curl -s https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly --date=2015-04-24

Setup with Docker

sudo docker build -t rust-tyckiting .
sudo docker run -ti -v $(pwd)/src:/source/src rust-tyckiting bash

And then follow from the top.

Prerequisites with Docker

  • Docker
  • If you don't have a suitable kernel running (e.g. you are on OS X or Windows) you might want to check out Docker machine.

How to start with a new AI

Take a look at src/ai/mod.rs. There is a RandomAI that does random stuff which you can take as an example to copy the structure. You have to add your AI also to the function from_name in the same file so it becomes user selectable.

Testing

You can add your tests as functions with #[test] before them and run all of them with

cargo test

There are some examples of tests in the code base.

Editors

At least Vim and Emacs have packages in the usual places. Sublime Text seems to have one too. Online search engine of your choice is your friend.

Learning materials

ferrousbueller's People

Contributors

gnunicorn avatar ilkka avatar mikko avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

gnunicorn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.