What if learning to code was actually fun?
If you’re learning to code, then you’re either hustling, grinding, or drudging your way into a Python statement, clenching your teeth as you attempt to get a “Hello World” to print on screen for the third time. There’s no such thing as “having a good time” while attempting to run code. If we guide ourselves by the voices from the Internet’s incessant doomscroll, there’s only one correct way of learning to code: toiling away and typing one’s fingers to the bone.
Unless video games could guide you in the programming process. You know the gist of it: If a video game requested you to smash the circle button in the quickest physically possible way, you’d have no qualms about peeling your fingers to the bone. So, if to win a video game, you had to get the “Hello World” going… maybe it wouldn’t require you to plough away that much.
Coding games for programmers
The good news is, there are plenty of such games, and there are a goodly bunch of facts to suggest video games can help you learn to code. Studies show Europeans spent 9 hours a week during 2021 playing video games. Reputable sources report that that’s about as much time students from a six-month coding bootcamp devote to programming per week. Learning through video games gets a positive light even for youngsters: In a study by the Entertainment Software Association, two-thirds of the inquired parents answered they believed video games were helping their children in their education.
Playing video games that allow modding or scripting can help programmers to think about game mechanics and how to apply their skills in a fun and engaging way. It allows them to use programming concepts in a more relatable context than just traditional coding exercises.
Then again, did you really need convincing to start playing video games? Here’s a list of games and video games that will make learning to code a lot more fun!
1. CodeCombat (2013)
2. Code Wars (2013)
3. CodinGame (2012)
This game is like a buffet for programmers. It offers a variety of coding challenges in languages such as Python, Java, C++, and more. It's devised to be fun and engaging, perfect for programmers of all skill levels who want to expand their problem-solving skills and learn new languages.
4. Minecraft (2011)
The best-selling video game of all time is a sandbox, but instead of sand, you're using code. The game has a modding community where players can create custom mods and plugins using the Java programming language. This allows players to change the game's mechanics, add new features, and build up their game modes.
5. Kerbal Space Program (2011)
This game is like NASA, but with fewer budget cuts and recession invulnerability. The game has a built-in scripting API that allows players to create custom mods using C#. This permits players to automate specific tasks, create new parts and game mechanics, and even control the game's physics engine. Playing Kerbal Space Program can help programmers learn about physics simulation and game logic.
6. RimWorld (2013)
RimWorld is a survival game where you’re fighting back against the harshness of the planet. The game has a modding feature that allows players to create custom mods using C#. Players can add new buildings, items, and game mechanics, and even change the game's AI. Playing RimWorld can help programmers learn about game AI and game logic.
7. Metal Gear Solid 2: Sons of Liberty (2001)
8. BioShock (2007)
This game is like a philosophy class, but instead of writing essays, you're shooting genetically-enhanced freaks. The game's various perks, ammo, and provisions are dispensed and controlled by cool-looking state machines, which is a fundamental concept in programming. Going through the underwater city of Rapture in BioShock can help programmers learn about AI state machines and game logic.
9. Age of Empires II: Definitive Edition (2019)
This game is like a history class, but instead of studying, you're conquering. Playing the game allows programmers to understand how AI decision-making algorithms work, by seeing the AI players on the game making decisions, like choosing what types of units to build, where to expand, and how to attack or defend. This can give them a more in-depth understanding of creating intelligent and dynamic systems in their code.
10. Game Dev Story (2010)
This game is like a management simulation, but instead of managing a factory, you're managing a game development studio. The game has a feature that allows players to create custom games using a variety of genres, platforms, and art styles. Players can also hire staff and assign them to different tasks such as programming, design, and sound. Playing Game Dev Story can help programmers learn about the game development process, project management, and how different roles in game development work together. Furthermore, releasing a game and scoring a perfect ten on a zealous review site feels better than most things in life.
Bonus: SteamWeb API
It’s game over for the grind, folks
There will always be complex realities in life like being scolded for forgetting to get the trash out = or being poked fun at for using PHP. But learning to code (or improving on existing skills) is no longer part of that group of harsh, hard truths.
There’s no reason why you can’t have fun and learn at the same time. Hopefully, I’ve given you a few more games to check out after work, let me know if I’ve missed any really good ones. And finally, if you’re looking for a new developer job, head over to our job platform to see what opportunities are out there!
Thanks for reading ✌️
What’s a Rich Text element?
The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.
Static and dynamic content editing
A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!
How to customize formatting for each rich text
Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.