Share your repls and programming experiences

← Back to all posts
Text based game engine colab
Haaruun (95)

I have a idea for a text based game engine that uses yaml files to make a game, you then would be able to post it and others would be able to play it and post there scores to a leaderboard

If you know python, and can make a basic game try and join, ill teach you what you dont know

https://repl.it/join/ozilndjw-haaruun

Commentshotnewtop
cozycolin (5)

#addAchivement
I would like an achievement if you study every year through primary and secondary school. Called "stop studying!"

[deleted]

why not json instead?

Haaruun (95)

2 reasons. one yaml is easier to read for non tecnical people. and 2 it just has more complex datatypes @sanjaykdragon

[deleted]

@Haaruun what more complex data types does YAML have?

Haaruun (95)

@sanjaykdragon it lets you make your own, and it has multi line strings

[deleted]

@Haaruun json also has multi line strings, you just need to parse it correctly (use \n). Also I still don't get your point about YAML being able to make "complex data types"

Haaruun (95)

@sanjaykdragon an example of the datatypes is you can add a marker for scientific notation and when you parse it would convert it to an int. annother example is it allows for linking between objects or a simple class system.

[deleted]

@Haaruun Ok that is interesting

Haaruun (95)

@sanjaykdragon the multi line strings are better to:

data: |
BLag lorem ipsum
you can have tabs to
it stops when you tab out
other: var

never mind tabs dont show up

Haaruun (95)

Its full now, pyleas nathanp and roberto joined first

OliviaSorenson (0)

Dont worry about it! Your good @Haaruun