Cool things you have made in other programming languages


#1

So I myself have made a few cool things in other programming languages. I was wondering, what have you made? If you've made anything, let me know here! Anything in hopscotch does not count.


#2

Why is no one replying?
lol I have no access to things I made at school...


#3

I only have scratch but I have some books about Python, Java, and hemp that I want to learn.


#4

The best project I've made on Scratch is something for school, but I think it's pretty cool! :D
I've also made a guessing game on Python, and it's simple, but it was a bug accomplishment since I'm a beginner!
I don't use JavaScript a lot, but I've made some stuff on there too!


#5

I've made this guess the female celeb project on this "Learn JavaScript" app. I used CSS and HTML.


#6

Oh man, I have some cool things. Here is a Shakespearean play script:

 --[[~The infamous Hamlet~]]                                                                                                                                                                                                       p=[[
Romeo, a young man with a remarkable patience.
Juliet, a likewise young woman of remarkable grace.
Ophelia, a remarkable woman much in dispute with Hamlet.
Hamlet, the flatterer of Andersen Insulting A/S.


                    Act I: Hamlets insults and flattery.

                    Scene I: The insulting of Romeo.

[Enter Hamlet and Romeo]

Hamlet:
 You lying stupid fatherless big smelly half-witted coward!
 You are as stupid as the difference between a handsome rich brave
 hero and thyself! Speak your mind!

 You are as brave as the sum of your fat little stuffed misused dusty
 old rotten codpiece and a beautiful fair warm peaceful sunny summer's
 day. You are as healthy as the difference between the sum of the
 sweetest reddest rose and my father and yourself! Speak your mind!

 You are as cowardly as the sum of yourself and the difference
 between a big mighty proud kingdom and a horse. Speak your mind.

 Speak your mind!

[Exit Romeo]

                    Scene II: The praising of Juliet.

[Enter Juliet]

Hamlet:
 Thou art as sweet as the sum of the sum of Romeo and his horse and his
 black cat! Speak thy mind!

[Exit Juliet]

                    Scene III: The praising of Ophelia.

[Enter Ophelia]

Hamlet:
 Thou art as lovely as the product of a large rural town and my amazing
 bottomless embroidered purse. Speak thy mind!

 Thou art as loving as the product of the bluest clearest sweetest sky
 and the sum of a squirrel and a white horse. Thou art as beautiful as the difference between Juliet and thyself.
 Speak thy mind! Let them]] print -- (She pauses) -- it in the streets!
 --[[Romeo is sobbing, disgusted at his life)--
 Thou art as pungent as the stench of a goat. Speak thy mind!
 [[Exeunt Romeo]]
 "Hello, World!" -- No response. "Hello!" He calls out again, but to no avail.

[[Exeunt Ophelia and Hamlet


                    Act II: Behind Hamlet's back.

                    Scene I: Romeo and Juliet's conversation.

[Enter Romeo and Juliet]

Romeo:
 Speak your mind. You are as worried as the sum of yourself and the
 difference between my small smooth hamster and my nose. Speak your
 mind!

Juliet:
 Speak YOUR mind! You are as bad as Hamlet! You are as small as the
 difference between the square of the difference between my little pony
 and your big hairy hound and the cube of your sorry little
 codpiece. Speak your mind!

[[Exit Romeo]
[[

                    Scene II: Juliet and Ophelia's conversation.

[Enter Ophelia]

Juliet:
 Thou art as good as the quotient between Romeo and the sum of a small
 furry animal and a leech. Speak your mind!

Ophelia:
 Thou art as disgusting as the quotient between Romeo and twice the
 difference between a mistletoe and an oozing infected blister! Speak
 your mind!

[Exeunt]]

Right?
Oh, but it isn't. It actually, when run in Lua, prints "Hello World" and then exits. It was a fun challenge, and if any of you want an explanation I'll be happy to give it.

I've also made a programming language. The code is to long and sloppy to post here, but I'll make a video demoing it when I get the chance. It's called Planck, and made to be a golfing language, which means accomplishing a task in the least number of characters possible. (Anyone get it? :slight_smile: )

And of course who can forget my MIDI hack in Mathematica:

jsonify[t_]:=(For[i = 1, i <= Length[t[[1]]], i++,
 AppendTo[notes,
  Drop[StringSplit[
    StringReplace[
     ToString[t[[1]][[i]]], {"SoundNote[" -> "", "{" -> ""}],
    ","], -3]]];
For[i = 1, i < Length[notes], i++,
 notes[[i]][[2]] =
  ToExpression[(ToExpression[notes[[i + 1]][[2]]] -
      ToExpression[notes[[i]][[2]]])*1000]];
For[i = 1, i <= Length[notes], i++,
 notes[[i]][[1]] =
  StringReplace[
   ToString[notes[[i]][[1]]], {"1" -> "3", "2" -> "3", "5" -> "4",
    "6" -> "4", "7" -> "4"}]];
For[i = 1, i <= Length[notes], i++,
 notes[[i]][[1]] =
  StringReplace[
   ToString[notes[[i]][[1]]], {"C3" -> "low-c", "C#3" -> "low-csharp",
     "D3" -> "low-d", "D#3" -> "low-eflat", "E3" -> "low-e",
    "F3" -> "low-f", "F#3" -> "low-fsharp", "G3" -> "low-g",
    "G#3" -> "low-aflat", "A3" -> "low-a", "A#3" -> "low-bflat",
    "B3" -> "low-b", "C4" -> "c", "C#4" -> "csharp", "D4" -> "d",
    "D#4" -> "eflat", "E4" -> "e", "F4" -> "f", "F#4" -> "fsharp",
    "G4" -> "g", "G#4" -> "aflat", "A4" -> "a", "A#4" -> "bflat",
    "B4" -> "b", "C4" -> "highc"}]];
For[i = 1, i <= Length[notes], i++, Print["{
             \"section\" : 2,
             \"block_class\" : \"method\",
             \"description\" : \"start sound\",
             \"type\" : 52,
             \"parameters\" : [
               {
                 \"defaultValue\" : \"clickPlayable\",
                 \"value\" : \"" <> notes[[i]][[1]] <> "\",
                 \"key\" : \"and wait\",
                 \"type\" : 51
               },
               {
                 \"defaultValue\" : \"500\",
                 \"value\" : \"" <>
                   ToString[Floor[ToExpression[notes[[i]][[2]]]]]<> "\",
                 \"key\" : \"milliseconds\",
                 \"type\" : 42
               }
             ]
           },"]])

I also made, for Hopscotch's birthday, a program in the shape of an H that printed Hopscotch is awesome in ASCII art in Lua. Probably the most time I've ever spent formatting a program :joy:


#7

I have done scratch, but I didn't really like it