Giter Club home page Giter Club logo

codingame-core's Introduction

codingame-core

Codingame - Core library Can be used to start new "Game" (challenge, puzzle...) on Codingame.com

This library provide some utilities, like a logger, timer, I/O Will also provide Application / Game base to write a beautiful code !

Installation

Create new project from http://github.com/velkuns/codingame-template

Core Main

Application

Application: Main class to run Codingame application. New to have GameInterface instance in constructor

Game*

GameInterface: Must be implemented in your project. GameAction: Use to store game action output write at the end of the turn.

IO*

Input: Stateless class to read an input in given format, and return array Output: Stateless class to write an output (std output).

Logger*

Logger: Stateless class to log content on codingame debug output

Core Compiler

Codingame can only take a single file on his editor. So, we need to "compile" all sources files into one file to submit on Codingame.

An compiler executable file is provided in template project. You can configure some options to scan sources to "compile".

Core Utils

Collection

Abstract Collection: Provide an abstract class for complex collection.

Math*

Math: Provide some function about basic math (ie factorial number) Permutation: Provide a method to get a permuted array based on a seed number. (Seed number must be between 0 <= n < max permutation)

Utils*

Number: Format number Timer: Use to start / display timer in your app.

codingame-core's People

Contributors

velkuns avatar

Watchers

 avatar James Cloos avatar  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.