Git Product home page Git Product logo

vindinium-js-starter's Introduction

Vindinium Server

Documentation
####How to set up this Vindinium client Goal: After following the steps below, you should have vindinium set up and ready to run inside of your IDE (C9.io). You should be able to use the terminal (alt-t) to run your bot with the command: node test.js or node stable.js depending on which file you are running.

##To setup your IDE (C9.io is used here) Click on + to create new workspace
name your workspace
Under “Clone from git or Mercurial URL” paste in https://github.com/MattHesby/vindinium-js-starter
Under “Choose a template” click on Node.js
Click “Create Workspace”
Go to Terminal (alt-t)
enter: npm install
enter: npm install pathfinding
enter: npm install colors
enter: npm install cli-table
go to vindinium.org and Create a New Bot
copy the provided key
In your IDE open the file test.js
paste the provided key in the space provided on line 3
####If provided a private server -
go to the private server and Create a New Bot
copy the provided key
In your IDE open the file test.js
paste the provided key in the space provided on line 4
Change ‘PRIVATE_SERVER_HERE’ to the url provided for the private server

##To run your Bot Make sure you have either line 3 or line 4 commented out with //
line 3 is set up to test your bot on vindinium.org
line 4 is set up to play your bot on a private server (if provided)
go to your terminal
to run your stable version of your bot, enter: node stable.js
to run your test version of your bot, enter: node test.js

##To make changes to your bot All students should have a stable bot that will run. Make changes only to your test.js. When your test.js bot is running well from the changes you have made, copy/paste from your test, to your stable. That way you can always join in any competitions without having to try and debug first.

vindinium-js-starter's People

Contributors

matthesby avatar summitcs avatar

Watchers

James Cloos avatar  avatar

Forkers

andy9879

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.