Discuss Scratch

lwell72
Scratcher
100+ posts

What are good websites to run written code?

What are good websites to run written code?
I am looking to learn how to make games in written code such as C++.
MegaApuTurkUltra
Scratcher
1000+ posts

What are good websites to run written code?

Atom and VS Code are both pretty good websites

$(".box-head")[0].textContent = "committing AT crimes since $whenever"
herohamp
Scratcher
1000+ posts

What are good websites to run written code?

MegaApuTurkUltra wrote:

Atom and VS Code are both pretty good websites
I see what you did there
NickyNouse
Scratcher
1000+ posts

What are good websites to run written code?

You should probably read this: What to do after Scratch …but I'll do my best to answer your question:

If you're open to writing a game in a text language but not necessarily in C++, I'd recommend learning Python or JavaScript. C++ is a hard language to learn and not an easy language to write games in. https://www.codecademy.com is probably a good place to start for either JavaScript or Python. Here's the run-down on both of them:

Python is a language that's designed to be easy to learn. It's also designed to look a lot like English so you don't have to do too much mental translating when you're coding in it or trying to make sense of someone else's code. There's a cool set of tools for creating games in Python called pygame, which might come in handy.

JavaScript is the language that the web is written in. Some games (Flash games) aren't, but they're being phased out. If you want your game to run in the browser, go with JavaScript. JavaScript has long had a bad reputation for being a little cooky sometimes and for its built-in functions being hard to use, but newer versions of JavaScript are improving on that. If you want to quickly get started writing games in JavaScript, I recommend p5.js, and here's a cool interactive video showing you some stuff you can do with p5.

One last thought: if you have your heart set on writing running C++ in the browser, the closest you're going to get (without learning a lot of JavaScript first) is the website repl.it, which lets you send them code in various languages, then they run it and send it back to you

Powered by DjangoBB