This forum is now read-only. Please use our new forums! Go to forums
Will there be a Java or C# course added anytime soon?
I want to learn how to read and write in C# for making games in Unity. I know that there are other websites like programmer.com, however, I find codecademy to have the most user-friendly and helpful interface and I think it would be great to learn C# and Java using it. Thank You! :) P.S. I apologize because this question isn’t pertinent to the Rock, Paper, Scissors section of JS.
Answer 54a743109113cbd4c90041c1
I would recommend posting your question here: codecademy wishlist
Answer 54e3871586f5521d83000486
I’m also looking forward for C#, i wish they would add C# course soon.
4 comments
Nah, c# is a microsoft product, better learn bash :)
what does C# being a microsoft thing have to do with anything. PC is so much better for real game development, and I would love to see a C# course on here. Also, what is bash?
Bash is a Unix shell written by Brian Fox for the GNU Project as a free software replacement for the Bourne shell.
I would like it if they made a C course
Answer 552c0a1095e37840ee0002e3
var userChoice = prompt(“Do you choose rock, paper or scissors?”); var computerChoice = Math.random(); if (computerChoice < 0.34) { computerChoice = “rock”; } else if(computerChoice <= 0.67) { computerChoice = “paper”; } else { computerChoice = “scissors”; } console.log(“Computer: “ + computerChoice); var compare = function(choice1, choice2) { if(choice1 === choice2) { return “The result is a tie”; console.log(“The result is a tie”) } else if(choice1 === “rock”) { if(choice2 === “scissors”) { return “rock wins” } else { return “paper wins” } } else if(choice1 === “paper”) { if(choice2 === “rock”) { return “paper wins” } else { return “scissors wins” } } };
1 comments
cool :)
Answer 556c7ef39376760eef0006e5
if (computerChoice < 0.33){ computerChoice = “Rock”; } else if (computerChoice < 0.66){ computerChoice = “Paper”; } else { computerChoice = “Scissors” };
Answer 55073e4851b88704b4000549
It would be nice to have Java for people who have over 500 or 1000 points. Also C, I have no idea what that is….
2 comments
C# (pronounced as see sharp) is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines. It was developed by Microsoft within its .NET initiative and later approved as a standard by Ecma (ECMA-334) and ISO (ISO/IEC 23270:2006). C# is one of the programming languages designed for the Common Language Infrastructure.
C# is intended to be a simple, modern, general-purpose, object-oriented programming language. Its development team is led by Anders Hejlsberg. The most recent version is C# 5.0, which was released on August 15, 2012.
(wikipedia, google sure is amazing…)
Oh, I was assuming they meant C++ XD
Answer 555437ed51b887819c00002f
} else if(0.34 <=computerChoice <= 0.67) {
Answer 556f4ef2e39efe7fb60001dc
Have you learned C yet? If not, I’d advise you to learn C first; it’s a simple language, and will make C# and C++ learning easier.
There’s a GREAT course on edx.org, taught by a great university: Harvard. The course teaches C. If you take this course, and complete it, you will become an expert in C, and it’ll make your journey through C#, etc. a lot easier.
Here is a link to the course: https://courses.edx.org/courses/HarvardX/CS50x3/2015/info
Good luck.
Answer 55311b6e95e378481d000664
var userChoice = prompt(“Do you choose rock, paper or scissors?”);
var computerChoice = function() { var randomnumber = Math.random();
if (randomnumber < 0.33) { return “rock”; } else if (randomnumber > 0.66) { return”paper”; } else { return”scissors”; } }; console.log(computerChoice());
1 comments
if (computerChoice < 0.33){ computerChoice = “Rock”; } else if (computerChoice < 0.66){ computerChoice = “Paper”; } else { computerChoice = “Scissors” };
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
13 comments
Thank you, I wouldn’t have found that otherwise.
And I just wanted to say congrats on finishing so many courses recently!
thnx!
I am interested in C# too.
Java would be awesome. Other tutorials aren’t too clear.
i want C++
C++ isn’t for the faint-hearted xD
Is JavaScript not the same as Java? because codecademy offers javascript, thats what i’m learning right now
No Java is a completely different language
They are very similar, JavaScript is like a web programming language, were as Java is more of a software programming language
They are not very similar. Java is known for being a lot more advanced for a start. They have their similarities but they have a lot more differences. Javascript is most commonly used for making web applications especially when used with frameworks such as angular.js or node.js. Java, on the other hand is very well known for being the core language behind the game known as minecraft. Java is a lot harder to learn than javascript but they both have their own pros and cons.
They are invented at the same time but, both are developed by a diffrent compagny and later added to each other. Java is much more complicated than javaScript so the course will be to hard it seariously take many time to controle java.
greetz
How were they added to each other? They are completely different languages. One if for nothing other than web development and the other is good for anything. While Java is a generally harder language it is still easy to learn compared to some other languages such as objective-c.