futurice/FerrousBueller

Name: FerrousBueller

Owner: Futurice

Description: null

Created: 2015-05-07 15:55:16.0

Updated: 2016-02-16 07:08:07.0

Pushed: 2016-02-16 07:08:06.0

Homepage: null

Size: 73

Language: Rust

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Space Tyckiting Rust client

Rust logo

Synopsis
o build
o run -- # [options]
Prerequisites

Rust

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

 -s https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly --date=2015-04-24
Setup with Docker
 docker build -t rust-tyckiting .
 docker run -ti -v $(pwd)/src:/source/src rust-tyckiting bash

And then follow from the top.

Prerequisites with Docker
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

o 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

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.