Here we put all solutions of games on Codingame.com, join us https://www.facebook.com/groups/CodingameChallengeAlgeria/ ;)
Please folow those steps :
- "Fork" this repo in the top right corner
- Clone the cloned repo to your local:
git clone LINK_To_YOUR_REPO
; - Goto 'codin-game' folder:
cd codin-game
- Create new branch, please name it like the name of the game that you want to add eg:
git checkout -b PowerOfThor
- If the the game not exists already, please check that the game not exists already, otherwise create a new folder with the name of the game eg:
mkdir Power of Thor
, please put it in the right level: 'EASY', 'MEDIUM', 'HARD', 'VERY HARD' - Add your file into the right directory, please name it:
Language.ExtensionLanguage
, eg:JavaScript.js
,Python.py
,PHP.php
...etc. If you want to add new version of an existing language, just name your file like that :PHP-1.php
,PHP-2.php
...etc - Add you solution to "Current solutions", please follow the format :)
- Commit your chages, please follow this convension for your commit message: "ACTION LANGUAGE script for GAME_NAME", eg :
git commit -am "Add Python script for Power of Thor"
,git commit -am "Edit Python script for Power of Thor"
orgit commit -am "Add new Python version for Power of Thor"
..etc - Push your Branch:
git push -u origin BRANCH_NAME
- In Github send a Pull Request(PR), please note that your PR will not be accepted if the code not test for all cases ;), in the description of your PR, send a screen shot
- And That's all :)
- TUTORIAL > Onboarding: JS, C, C++, Python, Bash
- EASY > Power of Thor: JS, Python, C, Bash
- EASY > The Descent: JS, Python, C, Bash
- EASY > Skynet the Chasm: JS, Python, C, Bash
- EASY > Mars Lander - Level 1: Python, C++
- EASY > Temperatures: JS, Python, C, Bash
- EASY > ASCII Art: Python, C
- EASY > Chuck Norris: Python, C
- EASY > MIME Type: Python, C
- EASY > Defibrillators: Python, C
- EASY > Horse-racing Duals: Python, C
- MEDIUM > APU: Init Phase : C
- MEDIUM > The Paranoid Android : C
- MEDIUM > Hostage Rescue - Part 1 - Training : C
- MEDIUM > Stock Exchange Losses : C
- MEDIUM > Dwarfs standing on the shoulders of giants : C
- MEDIUM > Mayan Calculation : Java
- MEDIUM > John Horton Conway : Java
- MEDIUM > Sracle : Java, C
- MEDIUM > Indiana-Level1 : C
How to update my forked repo ?
In your local, switch to master branch git checkout master
, add new remote git remote add originRepo https://github.com/CodingameAlgeriaChallenge/codin-game.git
and make pull for the Original repo: git pull originRepo master
and push to your repo: git push -u origin master
.