DEV Community

Cover image for Learn coding by playing games ๐ŸŽฎ
Dhanush N
Dhanush N

Posted on • Updated on

Learn coding by playing games ๐ŸŽฎ

When beginners usually start to code sometimes may get stuck or confused with some concepts. But there are many sites which help to learn some fundamentals of programming by playing games which can be fun & also makes coding a lot interesting. This blog lists the various sites where we can learn coding by playing online games.

๐Ÿ“Œ CheckIO and Empire of Code

Strategy games that can teach you JavaScript or Python.

๐Ÿ“Œ Code Wars

Helps you improve your skills by training in challenges with others. They offer a huge variety of languages, including JavaScript, Swift, PHP, Python etc

๐Ÿ“Œ Untrusted

Improvises your javascript skills by solving problems

๐Ÿ“Œ Elevator Saga

Tests your JavaScript knowledge with challenges related to moving an elevator and transporting people in the most efficient manner possible

๐Ÿ“Œ Vim Adventures

Vim is a highly configurable text editor used by programmers. If you want to learn how to use Vim then check this

๐Ÿ“Œ Code Hunt

You can learn Java etc. In a funny game way

๐Ÿ“Œ Robocode

Youโ€™ll learn programming skills by building virtual robot battle tanks in Java or .NET

๐Ÿ“Œ SQL Murder Mystery

This exercise is meant more as a way to practice SQL

๐Ÿ“Œ Flexboxfroggy

24 levels to learn how CSS Flexbox works

๐Ÿ“Œ Cyber Dojo

Cyber Dojo has practice exercises and challenges for dozens of coding languages including Ruby, JavaScript, PHP, Python, and more

๐Ÿ“Œ CodinGame

Coding game offers up fun free games to help learn more than 20 programming languages

๐Ÿ“Œ CSS Dinner

It has 32 levels that will teach you the basics of how CSS selectors work.

๐Ÿ“Œ Codecombat

Anyone can learn Python, JavaScript, CoffeeScript etc

๐Ÿ“ŒRuby warrior

Learn ruby with this awesome game

๐Ÿ“ŒCodeMonkey

It teaches coding using CoffeeScript, a real programming language, to teach you to build your own games in HTML5.

๐Ÿ“ŒFlexbox defence

Another great one to practice Flexbox skills

Thanks for reading ๐Ÿ˜Š

If you like this content & if you feel it may help someone share it โค๏ธ

If you know any games that would help in learning to code drop below

Buy Me A Coffee

Top comments (1)

Collapse
 
eliasagg profile image
EliasAgg

What an excellent idea! There were many I hadn't heard about.

Also, the link to ruby warrior seems to be 404