Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Are there any coding challanges for Unity C#?

Discussion in 'General Discussion' started by DDAAVVIID, Nov 15, 2021.

  1. DDAAVVIID

    DDAAVVIID

    Joined:
    Dec 15, 2018
    Posts:
    17
    Are there any coding challenge websites for Unity C#?

    What I mean by 'Unity C#' is, C# but using the unity code. So not just normal C#. But C# with all the unity stuff.

    I don't think I explained this well enough but whatever.
     
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,580
    Yes. Make a game and release it. This will be your first challenge.
     
    Last edited: Nov 16, 2021
  3. SamTheLearned

    SamTheLearned

    Joined:
    Jun 23, 2021
    Posts:
    84
    Like Antypodish said, make Anything.

    You'll have challenges every breath you take. Its the best way to learn.
     
    profitdefiant likes this.
  4. DDAAVVIID

    DDAAVVIID

    Joined:
    Dec 15, 2018
    Posts:
    17
    I meant as in challanges like this: https://edabit.com/challenges#! or something like codin game but for unity C#.

    I'm asking this because I want to get better at coding.
     
    Last edited: Nov 20, 2021
  5. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,357
    Yeah, I think we all know what coding challenges are. I believe that Antypodish and SamTheLearned are trying to indicate that you'll learn more from practical experience then from doing these scholastic-style exercises.

    You'll notice that the page that you linked has C# exercises as well. These are not Unity-specific but they cover things that you'll use in Unity all of the time, like arithmetic and array usage, so these are just as useful for Unity as anything else. Once you learn programming, then you'll only need to know Unity's features and how they work.
     
  6. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,136
    Do you want to become better at C#? Or do you want to become better at Unity? Because Unity's C# is no different from normal C# aside from being a little behind in releases. Any challenges that make you better at C# are going to help you become better at C# in Unity regardless of whether they were made for Unity or not.

    For becoming better at Unity itself I recommend watching Unite and GDC talks, and trying to recreate mechanics and systems found in existing games. Valve's Portal games have great mechanics that range between simple and complex. Check out game jams like Ludum Dare. They can be both fun and a good learning experience.
     
    Last edited: Nov 22, 2021
    profitdefiant likes this.
  7. angrypenguin

    angrypenguin

    Joined:
    Dec 29, 2011
    Posts:
    15,509
    Edited. :)

    I don't quite agree with that for experienced developers. There's a bunch of stuff that's "best practice" in standard C#/.NET which is best avoided in game dev, with a classic example being stuff like using Linq for data filtering in your game loop.

    Of course I fully agree that until you're good enough at programming to make things do what you want you shouldn't worry about the optimisation side of things. It makes stuff more complicated than it needs to, and doing it prematurely makes things worse rather than better.

    So yes, just get good at programming in general. After you're good at it then just doing projects will help you pick up the environment specific stuff pretty quickly.
     
    Last edited: Nov 22, 2021
  8. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    The hard part is solving problems and understanding architecture, things that far surpass syntax and language.
     
  9. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    5,883
    This has been my experience so far as well. Particularly the architectural challenges that come with involved systems and mechanics. It's very easy to make something do something. But to make it do something as if it were but one cog in a larger machine is a very different cookie.

    To be honest, until you're very much entrenched into games coding with deep levels of understanding, everything new you do is going to be a challenge. The key is to start small and build on your knowledge as you go. Pretty much everything that you learn is going to be useful later.
     
    profitdefiant and Joe-Censored like this.
  10. Not_Sure

    Not_Sure

    Joined:
    Dec 13, 2011
    Posts:
    3,541
    A lot of people will take a game and make a clone.

    Flappy Bird is extremely common.

    I personally don’t see the point of just making a clone, so I would say clone a simple game then give it your own twist.

    Like maybe make a flappy bird shooter, or maybe make it about going up instead.

    There’s lot of things you will learn along the way that you didn’t even know you didn’t know.
     
  11. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,357
    I guess if you really want some kind of directed challenge then you could respond to the help wanted forums. So many people are waitng for a good coder to do the work for them. :p
     
    Last edited: Nov 23, 2021
    Not_Sure likes this.