📜 ⬆️ ⬇️

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


In childhood we comprehend the wisdom of life through the game. This is the most important element of personal development, social skills, obtaining knowledge about the world. Games are a good “container” for conveying and consolidating any knowledge. A vivid example is games in which you need to write code. Surely all you 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 refresh your knowledge of a particular language, distract 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 a vegetable garden with the CSS code. There are 28 easy levels to complete.


image


Elevator saga


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


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


image


CheckIO


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


Probably, this game is still closer to the training, but it will also be interesting for the “already trained” programmers. In addition, there is a very nice graphics. With the help of the code you need to explore the islands and solve various problems.


image


Codiname


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 with the observance of 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


This game is for fans of text quests. You are given a description of various tasks with some subjects that need to be solved in the code.


image


CSS Diner


https://flukeout.imtqy.com/
Language: CSS


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


image


Untrusted


https://alexnisnevich.imtqy.com/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


The game can be called very arbitrarily. You are offered a piece of code, you need to find an error in it and fix it. The big round button in the middle at the top starts the check.


image


CodeCombat


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


In principle, this game is more educational, but it will go and 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


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



TIS-100


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


This is a game with an open ending. It is necessary to rewrite the damaged pieces of code in assembler in order to recover the TIS-100 and reveal its secrets.



Know other games for programmers? Throw links in the comments.


')

Source: https://habr.com/ru/post/328806/


All Articles