Games in which you need to write code: Grid Garden, Elevator Saga and others


    In childhood, we comprehend the wisdom of life through the game. This is an essential element in the development of personality, social skills, and knowledge about the world. Games are a good “container” for conveying and consolidating any knowledge. A striking example is games in which you need to write code. Surely all of you have heard about them, and some even played. Their primary task is to entertain people who already have programming skills, but they can also be used for training. These games will help to refresh your knowledge of a particular language, get distracted and take up a simpler algorithmic task.


    Grid garden


    http://cssgridgarden.com/
    Language: CSS


    In this simple game with a somewhat infantile interface, you need to water useful plants in the garden using CSS code. There are 28 easy to complete levels.


    image


    Elevator saga


    http://play.elevatorsaga.com/
    Language: JavaScript


    If you dreamed of creating algorithms for elevators (but in reality this is a very interesting and complex algorithmic task), then Elevator Saga is an excellent sandbox. It is an abstract building with several floors and elevators carrying people. It is necessary to program the movement of the elevators in such a way as to carry a certain number of passengers for a specified period. As you progress through the levels, the number of storeys and the number of elevators increases, and the conditions become stricter.


    image


    CheckIO


    https://checkio.org/
    Language: JavaScript, Python


    Probably, this game is nevertheless closer to the training, but it will also be interesting to the "already trained" programmers. In addition, there is a very nice graphics. Using the code, you need to explore the islands and solve various problems.


    image


    Codingame


    https://www.codingame.com/
    Language: C, C #, C ++, Java, JavaScript, Python, Python 3, Bash, Clojure, Dart, F #, Go, Groovy, Haskell, Lua, Objective-C, OCaml, Pascal, Perl, PHP, Ruby, Rust, Scala, Swift, Swift 3, VB.NET


    Here you need to program your defense system to destroy enemies. But not just like that, but subject to certain conditions.


    image


    Codewars


    https://www.codewars.com/
    Language: Clojure, C, C ++, C #, Crystal, Dart, Elixir, F #, Go, Haskell, Java, JavaScript, PHP, Python, Ruby, Rust, Shell, SQL, Swift, TypeScript


    A real game for fans of text quests. You are given a description of all kinds of tasks with some plots that need to be solved in the code.


    image


    CSS Diner


    https://flukeout.github.io/
    Language: CSS


    A simple game that allows you to master (or refresh) the basics of CSS.


    image


    Untrusted


    https://alexnisnevich.github.io/untrusted/
    Language: JavaScript


    Adventure game with old-school character graphics. You are given text tasks that need to be solved - attention! - using JavaScript code. How unexpected!


    image


    Codehunt


    https://www.codehunt.com/
    Language: C #, Java


    This game can be called very conditional. You are invited to a piece of code, you need to find an error in it and fix it. A large round button in the middle at the top starts the test.


    image


    CodeCombat


    https://codecombat.com/
    Language: Python, Java, CoffeeScript, Lua


    In principle, this game is more educational, but it will also go to knowledgeable programmers. It is made in the style of RPG, with the help of the code you need to control the character and achieve your goals.


    image


    Screeps


    https://screeps.com/
    Language: JavaScript


    An MMO game in which you need to program the AI ​​of your abstract units. It is necessary to build a base, extract resources, manage the territory, economy, production, transportation and so on. The better your scripts, the better the game goes. Moreover, your farm works around the clock, even if you are offline.



    TIS-100


    http://www.zachtronics.com/tis-100/
    Language: assembler


    This is an open ending game. In it, you need to rewrite the broken pieces of code in assembler in order to restore the TIS-100 and reveal its secrets.



    Do you know other games for programmers? Throw links in comments.


    Also popular now: