Share your repls and programming experiences

← Back to all posts
JavaCraft V2.0!!!! - Minecraft clone UPDATED
amaddentcsec (234)

Hello everyone!
I'm back after not posting for like a couple months, I've had some issues with repl.it being blocked and not being able to sign in, but I'm back!
Do you remember the original JavaCraft?
If not, here is the link:
JavaCraft V1.0
In that post, I said that at some point, I'd make other additions to it. Well, it's finally here!!!! The main concern I saw from the comments was that the world isn't big enough, so that's what I fixed in V2.0. There are now three screens, with you spawning in the middle screen. Once you go past the right or left border of the middle screen, it will put you into one of the other screens! I'll add more screens soon enough, and you can expect V3.0 to come out soon!
Anyways, have fun and upvote if you liked it!

You HAVE to open this in a new tab, or at least make the run window bigger.

Comments
hotnewtop
Whippingdot (570)

nIcE gAmE yOu gOt tHeRe bUdDy

amaddentcsec (234)

@Whippingdot
woww
did you just dig the entire screen up???
lolol

Dunce (49)

Very cool! it would be nice if you could move with A and D, or the arrow keys, instead of with R and L though.

amaddentcsec (234)

@Dunce
Thanks for the feedback!
I'm pretty sure you can't test arrow key presses in Java, but I'm definitely able to change it to A and D

codingjlu (81)

YESS! FINALLY SOMEONE THAT USES JAVA!!!!!!!!!!!!!!

amaddentcsec (234)

@codingjlu
YOOOOOOOO THANKS
JAVA IS THE BEST LANGUAGE BY FAR

codingjlu (81)

@amaddentcsec YES IT IS!!!!!!!!!!!!!!!!!!!!!! (although I just realized that Lua compiles crazy fast) We should code something!

amaddentcsec (234)

@codingjlu
Yo that would be so fun! What would you want to make?

amaddentcsec (234)

@codingjlu
Ooh sure! have you made one before? i have, you might want to check it out

codingjlu (81)

@amaddentcsec Cool! I made some with different techniques... I would love to see yours!

amaddentcsec (234)

@codingjlu
Cool!
How should we make ours?

codingjlu (81)

@amaddentcsec Idk, maybe use some AI to capture the intent and context and create a response...

amaddentcsec (234)

@codingjlu
that's pretty difficult though, i was trying to do that and it never really panned out

codingjlu (81)

@amaddentcsec lol okay do it's easier with someone else ig... wanna write a programming language?

amaddentcsec (234)

@codingjlu
sure! have you made one before?
here is mine sorta a wip: https://repl.it/@amaddentcsec/Oneline-Lang

codingjlu (81)

@amaddentcsec Nice, no I haven't... but I really want to

amaddentcsec (234)

@codingjlu
Ok! Do you want to start now?

codingjlu (81)

@amaddentcsec maybe in like 30 mins? I'll share my ideas with you :)

amaddentcsec (234)

@codingjlu
ok! I'm working on jc V3.0 rn and currently i'm having trouble with a for loop stopping execution for no reason, so i've got my hands full as well lol

codingjlu (81)

@amaddentcsec k wait do you want to use a cc? (parser/compiler compiler)

amaddentcsec (234)

@codingjlu
i mean i have no idea what that is

codingjlu (81)

@amaddentcsec It's like a library for building PLs

amaddentcsec (234)

@codingjlu
i never used one in my design..
umm would it make programming the pl easier?

codingjlu (81)

@amaddentcsec I think the most popular ones are Javacc, Antlr, and Gold.

amaddentcsec (234)

@codingjlu
Ok! We can use those if you want
i gtg now, but be back in an hour!

codingjlu (81)

@amaddentcsec The problem - I can't figure out how to install a parser on repl...

amaddentcsec (234)

@codingjlu
Oh...
I mean we can just code without one right?

codingjlu (81)

@amaddentcsec Yeah sure! Maybe use like buffered reader or something like that to read the file?

codingjlu (81)

@amaddentcsec k I'll invite you to a repl.

codingjlu (81)

@amaddentcsec Wait somehow my invite button disappeared...

codingjlu (81)

@amaddentcsec okay I invited you to a team

amaddentcsec (234)

how do i see the invite? @codingjlu

codingjlu (81)

@amaddentcsec Possibly in your email or notifs?

codingjlu (81)

@amaddentcsec Okay, I don't want to post the invite link to everyone, but that's probably my only choice (I guess I can delete ppl later if they join), so here it is: [redacted] :)

amaddentcsec (234)

ok i joined! you can edit your comment now @codingjlu

Brendan23 (139)

@amaddentcsec maybe make it so that you just press a button and it goes. like: arrow keys to move, q to break left block, w to break right block, etc.

amaddentcsec (234)

@Brendan23
I'm pretty sure you can only do that in python, I don't think there is any getkey function for java

Brendan23 (139)

@amaddentcsec oh. I mostly use python so I didn't know. lol.

Beads (2)

(O O)/ SO COOL!
D

amaddentcsec (234)

@Beads
Thanks!!! Since this project is getting a lot of support i'm probably going to start work on V3 veryyyy soon which is gonna have a lot of new stuff!!!

JackFranzel (29)

if repltopic == minecraft:
upvote += 1

amaddentcsec (234)

@JackFranzel
uhhh
according to my statics you have not upvoted.
therefore, your code must have an error

amaddentcsec (234)

@JackFranzel
Indeed! It seems the upvote += 1 code has executed perfectly!
Well done!
and also thanks lol

TheGooose (3)

I have never seen a game like this that is in the console instead of the actual game window!

amaddentcsec (234)

@BLAKEMETZ
Yep! It's pretty rare, and I know that for you to get a lot of upvotes you needed to be original, so I decided that my specialty would be making overcomplicated console games out of Java!
This is probably my crowning glory as of this moment lol

TheGooose (3)

@amaddentcsec Well i certainly cant make anything like this lol.

amaddentcsec (234)

@BLAKEMETZ
Don't worry its pretty simple once you figure out the basics

tussiez (1515)

It's a little hard to move around, but this is pretty cool!

amaddentcsec (234)

@tussiez
Thanks, I know it's pretty slow to move around but i don't think there's any other way to do it...