Coder Social home page Coder Social logo

marko-polo-cheno / c1gamesstarterkit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from correlation-one/c1gamesstarterkit

0.0 1.0 0.0 51.39 MB

Starter kit for new players of Terminal. Contains starter-algo and a basic CLI for running/debugging algo's locally.

License: Other

Shell 0.17% Python 45.03% PowerShell 0.16% Java 31.73% Rust 22.90%

c1gamesstarterkit's Introduction

C1GamesStarterKit

Welcome to the C1 Terminal Starter Kit! The repository contains a collection of scripts and language-specific starter algos, to help you start your journey to develop the ultimate algo.

For more details about competitions and the game itself please check out our main site.

Manual Play

We recommend you familiarize yourself with the game and its strategic elements, by playing manually, before you start your algo. Check out the playground.

Algo Development

To test your algo locally, you should use the new test_algo_[OS] scripts in the scripts folder. Details on its use is documented in the README.md file in the scripts folder. Using this script and the website features are enough for most users to play the game.

For documentation on the all official algos check out the doc server. This site also details useful configuration settings, and advanced details on the input formatting under "Json Format".

For advanced users you can install java and run the game engine locally, however its recommended to use the website for proper analysis as it has visualization features to help you understand. Java 10 or above is required: Java Development Kit 10 or above, if you cannot download java 10 just download the most recent java version.

If you are running Windows, you will need Windows PowerShell installed. This comes pre-installed on Windows 10. Some windows users might need to run the following PowerShell commands in adminstrator mode (right-click the PowerShell icon, and click "run as administrator"):

`Set-ExecutionPolicy Unrestricted`

If this doesn't work try this:

`Set-ExecutionPolicy Unrestricted CurrentUser`

If that still doesn't work, try these below:

`Set-ExecutionPolicy Bypass`
`Set-ExecutionPolicy RemoteSigned`

And don't forget to run the PowerShell as admin.

Uploading Algos

Simply select the folder of your algo when prompted on the Terminal website. Make sure to select the specific language folder such as "python-algo" do not select the entire starterkit itself.

Troubleshooting

For detailed troubleshooting help related to both website problems and local development check out the troubleshooting section.

Python Requirements

Python algos require Python 3 to run. If you are running Unix (Mac OS or Linux), the command python3 must run on Bash or Terminal. If you are running Windows, the command py -3 must run on PowerShell.

Java Requirements

Java algos require the Java Development Kit. Java algos also require [Gradle] (https://gradle.org/install/) for compilation.

Running Algos

To run your algo locally or on our servers, or to enroll your algo in a competition, please see the documentation for the Terminal command line interface in the scripts directory

c1gamesstarterkit's People

Contributors

junaidnom avatar ryan-mcpartlan avatar gretchenfrage avatar idraper avatar justinlynchc1 avatar k3kaw8pnf7mkmdsmphz27 avatar boombador avatar ravindu-work avatar junaid-nom avatar naalit avatar demorf avatar 876584635678890 avatar draevmm avatar ryandraves avatar ayushzenith avatar justinmlynch avatar deeeemo avatar akababa avatar wolfi3654 avatar

Watchers

James Cloos avatar

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.