Spherical forums

General Discussion => Off-Topic Discussions => Topic started by: FBnil on June 09, 2019, 09:04:54 am

Title: Elona sourcecode released. written in 'Hot Soup Processor.
Post by: FBnil on June 09, 2019, 09:04:54 am
twitter.com/The_Doddler/status/1137483351248388096?s=19
twitter.com/The_Doddler/status/1137495814908010496?s=19

Quote
    I saw that the source code for Elona, a fun japanese roguelike was available online and decided to take a look. It turns out it is a single, 14mb text file with 444000 lines of code, completely devoid of comments, written in 'Hot Soup Processor', a japanese basic like language.

Quote
    The code that determines what monsters can spawn is 30000 lines of this (7% of the total game code), which checks for every monster, where if it fails it goto's the next monster, for all 1000 monsters in the game.

Screenshots of the game can be found here:
http://ylvania.org/en/elona

I loved the tile draw code: https://puu.sh/DDswu/2bcf03f2eb.txt
So unlike Sphere. My respects to even get it to work.
Title: Re: Elona sourcecode released. written in 'Hot Soup Processor.
Post by: Fat Cerberus on June 09, 2019, 01:22:25 pm
This sounds pretty much like the first few text-based games I ever wrote in QBasic.  Variables?  Functions?  What are they?  It was pretty much just a long string of IF..THEN and GOTO for each relevant input :P

Of course mine weren't roguelikes.  To code a whole roguelike like that... that's impressive.