Games and programming - this symbiosis helps beginners to learn the basics of coding, and experienced developers - to refresh themselves and distract from difficult everyday tasks. It seems to be having fun, but at the same time with a benefit for the brain. We offer you the second part of the selection of games in which you need to write code. If you missed the first part , we also recommend you see, there are a lot of interesting things.
http://flexboxfroggy.com/
Language: CSS
A game for web developers who do not shy away from the layout. You need to help the frog and his friends navigate through the leaves of lilies, changing their location using CSS-code. And along the way, you will fix in your head the work with the Flexbox module, which appeared in CSS3.
http://www.flexboxdefense.com/
Language: CSS
Another game that will help you master the use of the Flexbox module on your web pages. The game belongs to the Tower Defense genre, only here you need to change the coordinates of the defensive towers with the help of the code in order to prevent the enemy from breaking through the defenses.
https://www.bloc.io/ruby-warrior # /
Language: Ruby
The graphics of this game will plunge you into the atmosphere of a warm tube 8-bit gaming past. With the help of your code, a brave knight in armor must go his hard way to the cherished goal, defeating enemies.
https://jsfight.club/
Language: JavaScript
An interesting project that makes the game component in the creation of AI. Players post in the copyright Github repositories forks with the JS code of their bots, which are uploaded to the site once a day, and everyone can watch the epic battle of artificial intelligence divided into two teams. At any time you can watch the recording of the last battle that took place.
http://box-256.com/
Language: assembler
This is a gaming emulator of a fictional 8-bit computer equipped with only 256 bytes of RAM and a 16-color display of 16x16 pixels. You need to pass graphic tests and improve the code so that it consumes as few processor cycles as possible or contains as few lines as possible. Multithreading and other optimizations to help you!
PS There is a web version of the game and a separate Windows application.
http://scalatron.imtqy.com/
Language: Scala
Another game for writing bots with the beginnings of artificial intelligence, only this time on Scala. This time, your population is struggling for energy to survive. The game is free, open source, no web version. You can play as in your sandbox, and raise the server and arrange a tournament with your friends or strangers.
https://colobot.info/
Language: artificial
Another interesting project, rather designed to teach children programming. Here you need to build bases, using robots, preparing the planets for colonization by humans. On the one hand, the game has three-dimensional graphics, but you can write your own programs for robots in an artificial language similar to C ++ and Java (the number of characters in each program is no more than 20,000). So it is quite possible to unwind and adults.
http://www.zachtronics.com/shenzhen-io/
Language: assembler
This is a simulator for creating printed circuit boards from various electronic components - microcontrollers, memory modules and logic gates - with their subsequent programming. A great way to feel like an engineer, trying to link the necessary code with the selected components. Not at all the same thing as rewriting a piece of program code, because replacing just one component can affect the whole technological process, behind which there are real workers, stocks, salaries, logistics ...
https://codefights.com/
Language: multiple languages
This is not a game, but a way to bring gamification to the study and pumping of programming skills. There are several modes, including linear “arcade” passing of tasks, programmer “battles” one-on-one, tournaments, free choice of interesting tasks and even preparation for an interview in the American company CodeFights, which created this project. But first you need to go through the "arcade" tasks to unlock other modes. For each solved task you get points, the amount of which depends on your skills and ingenuity.
http://pixact.ly/
Language: none
This is the only game in our collection that does not require programming skills. But she develops the eye with web programmers and web designers. The essence of the game is very simple: in each of the five rounds you need to draw a rectangle with the specified width and height in pixels. And each time the game tells you how wrong you are in pixels, often mockingly commenting on failures.
Source: https://habr.com/ru/post/349546/
All Articles