The ultimate challenge for aspiring developers
Tags: challenge, game, beginners
Published: 2018-05-17 07:36:36

---
title: "The ultimate challenge for aspiring developers"
published: true
tags: challenge,game, beginner
cover_image: http://pmihaylov.com/wp-content/uploads/2017/10/pexels-photo-372098.jpeg
canonical_url: https://pmihaylov.com/ultimate-challenge/
---

When I first started programming, I started creating some simple console applications following some course materials. I had to create some simple algorithmic-type programs such as implementing factorial, Fibonacci, etc. Although creating these programs might be fun at first, it's not like creating your own project from scratch.

Shortly after that, though, I created my <a href="http://pmihaylov.com/inspiration-developer/">very own game</a>. That was simply amazing! I never thought that you can create some of the most popular arcade games with so little knowledge. That's what hooked me up for programming. It was the step that made me look at programming not simply as a vocation, but a calling.

But I realize that I was lucky to find someone from whom to learn how to make my own game and do it myself afterwards. Most of the newbie programmers don't have this experience and I think that is a shame.

Today, I want to recreate this journey for you and <strong>help you create your own game.</strong>

<!--more-->
<h2 style="text-align: center;">How it all started</h2>
A few weeks ago, I was invited to make a talk for the event <a href="http://codeweek.eu/">Europe Code Week</a> Varna and I was wondering for a while what to show the attendees there. So I decided to experiment and do something I hadn't done before. Instead of leading a regular presentation with slides,  I decided to create a C# game from scratch for them in the hour long session. I chose the game Snake.

At the start of the presentation I asked the audience, which consisted of around 50 people if they had ever created their own game. And what amazed me that <strong>only one person in the room had created a game before</strong>. That was extremely surprising for me because the audience consisted of people, who were just getting started with programming, but<strong> there were also people who were already working as professional developers.</strong>

The audience loved it. Furthermore, after the event, there were people who contacted me and asked if there was a recording of the event since they couldn't attend.

That's how I realized that such a thing is extremely interesting and it can be hugely beneficial for your knowledge, skills and the growth of your passion for programming. I am attaching a video from the event for those of you who want to see how it goes, but note that it is in Bulgarian and won't be accessible for everyone.

{% youtube RlR7g11qulI %}

However, this event inspired me to create something far more outreaching and available for everyone. I have <strong>a challenge for you</strong>.
<h2>The Challenge</h2>
I want you to <strong>create your own game</strong>. But I can't just tell you that and leave, since you don't know where to start from. Instead, I have recorded a screen cast of me writing the Snake game in C#. But I haven't finished it. There are things that are missing and it is your job to extend the game.

{% youtube 8HjcqVZyCCs %}

Look at the video and go through every part of it, make sure you follow along and write the code I type. Try to understand the things I am writing and if you don't - don't worry. This is more of a tinkering process instead of guided learning. In the end, your program should look like this:

<img class="size-large wp-image-539 aligncenter" src="http://pmihaylov.com/wp-content/uploads/2017/10/Snake-Challenge-1024x721.png" alt="" width="676" height="476" />

Once you finish the version of the game I have written, then you have to extend it. I have listed a set of missing things in this game, which you have to do. I have created a GitHub repository, where you can find all the necessary information:

<a href="https://github.com/PreslavMihaylov/SnakeChallenge">https://github.com/PreslavMihaylov/SnakeChallenge</a>

If you don't know how to work with GitHub, then simply click the "Download ZIP" button at the top right of the page. If you do, however, then what you can do is fork my repository, complete the game I started and submit a pull request afterwards. That way, I will be able to review what you have done and I can give you feedback on what you can improve on the game or in your code.

After you complete this challenge, you will have the necessary skills to create your own favorite game - Pong, Tetris, Flappy Bird, etc.
<h2>Why should you do it</h2>
In order to be great at programming, it should be interesting for you and you should have passion for it. This challenge has the potential to awaken your passion as creating my own game did that for me years ago.  And why does it matter?

If you do something only because of the financial benefits from it, you can get far. But when you are connected to it on an emotional level, then you have the potential to be great.

Furthermore, creating a project from scratch can greatly solidify the knowledge you have. I didn't learn any new language constructs or new material related to C# back when I created my first game. But I felt much more confident in my abilities to write code than ever before. Creating simple programs, solving a traditional problem like reversing a string, finding a prime number, etc. is pretty cool and does help you explore programming. But only when you start creating your own project will you gain a much broader view of how a program works.
<h2>Conclusion</h2>
Now it's time for action. Enough reading, let's get into coding. Open up that video I shared, open Visual Studio and start creating that Snake game. Do you have what it takes to complete this challenge?

If you have any questions or concerns, feel free to contact me anytime. You can do that by writing to my email <a href="mailto:preslav@pmihaylov.com">preslav@pmihaylov.com</a>.

&nbsp;