Re: I'm creating a game purely written in D with the arsd library

2021-02-14 Thread Murilo via Digitalmars-d-announce
I've just finished the version 3.0 of the game I'm making. It's 
getting very fun and entertaining. Check it out.

https://madscientisthaven.blogspot.com/2021/01/an-awesome-new-game-for-you-to-have-fun.html


Re: I'm creating a game purely written in D with the arsd library

2021-01-06 Thread Murilo via Digitalmars-d-announce
On Tuesday, 5 January 2021 at 23:11:21 UTC, Guillaume Piolat 
wrote:

On Tuesday, 5 January 2021 at 21:42:49 UTC, Murilo wrote:
On Saturday, 2 January 2021 at 22:49:19 UTC, Guillaume Piolat 
wrote:

On Saturday, 2 January 2021 at 04:12:29 UTC, Murilo wrote:

Here is the link
https://drive.google.com/file/d/1Il1xLN8b5rzghYLXTQqq2apv5YMKv7rx/view?usp=sharing


I can't pass the first screen with a static photo and music. 
Help?


I've just uploaded the version 2.0 which is way better. Check 
it out.


Hello,

Thanks. I've encountered the following problems:
- explored all places but did not solve anything
- I don't see all the text that people are saying in the textbox
- on LOAD, couldn't retrieve my saved game, it crashed

Looks strange and interesting otherwise.


Thanks for the feedback, I will fix those problems.


Re: I'm creating a game purely written in D with the arsd library

2021-01-06 Thread Jacob Carlborg via Digitalmars-d-announce

On 2021-01-02 22:21, H. S. Teoh wrote:


Nope.  Reverse-engineering is a thing.  There's even tools out there to
automate this stuff.


Or you can try to prevent reverse engineering. This is both an 
interesting and fun talk [1].


[1] https://www.youtube.com/watch?v=HlUe0TUHOIc

--
/Jacob Carlborg


Re: I'm creating a game purely written in D with the arsd library

2021-01-05 Thread Guillaume Piolat via Digitalmars-d-announce

On Tuesday, 5 January 2021 at 21:42:49 UTC, Murilo wrote:
On Saturday, 2 January 2021 at 22:49:19 UTC, Guillaume Piolat 
wrote:

On Saturday, 2 January 2021 at 04:12:29 UTC, Murilo wrote:

Here is the link
https://drive.google.com/file/d/1Il1xLN8b5rzghYLXTQqq2apv5YMKv7rx/view?usp=sharing


I can't pass the first screen with a static photo and music. 
Help?


I've just uploaded the version 2.0 which is way better. Check 
it out.


Hello,

Thanks. I've encountered the following problems:
- explored all places but did not solve anything
- I don't see all the text that people are saying in the textbox
- on LOAD, couldn't retrieve my saved game, it crashed

Looks strange and interesting otherwise.


Re: I'm creating a game purely written in D with the arsd library

2021-01-05 Thread Murilo via Digitalmars-d-announce
On Saturday, 2 January 2021 at 22:49:19 UTC, Guillaume Piolat 
wrote:

On Saturday, 2 January 2021 at 04:12:29 UTC, Murilo wrote:

Here is the link
https://drive.google.com/file/d/1Il1xLN8b5rzghYLXTQqq2apv5YMKv7rx/view?usp=sharing


I can't pass the first screen with a static photo and music. 
Help?


I've just uploaded the version 2.0 which is way better. Check it 
out.


Re: I'm creating a game purely written in D with the arsd library

2021-01-03 Thread James Blachly via Digitalmars-d-announce

On 1/3/21 1:31 PM, Murilo wrote:

On Sunday, 3 January 2021 at 02:42:46 UTC, James Blachly wrote:
My final suggestion is that -- given this is a D programming 
enthusiasts' newsgroup, where we are interested in seeing D code, you 
might get great feedback on the code itself.


Kind regards


How did you have access to the source code? Did you use a decompiler?



`strings Game |less`


Re: I'm creating a game purely written in D with the arsd library

2021-01-03 Thread Murilo via Digitalmars-d-announce

On Sunday, 3 January 2021 at 02:42:46 UTC, James Blachly wrote:
My final suggestion is that -- given this is a D programming 
enthusiasts' newsgroup, where we are interested in seeing D 
code, you might get great feedback on the code itself.


Kind regards


How did you have access to the source code? Did you use a 
decompiler?




Re: I'm creating a game purely written in D with the arsd library

2021-01-02 Thread James Blachly via Digitalmars-d-announce

On 1/2/21 4:18 PM, H. S. Teoh wrote:

On Sat, Jan 02, 2021 at 09:01:17PM +, Murilo via Digitalmars-d-announce 
wrote:
[...]

It's because I don't people to know the spoilers, so no one will see
the source code.

...

Providing source code is mainly for convenience to people who might want
to compile it for platforms you do not have (thus spreading the word
about your program).



Yes, like me for example. My only graphical systems are Mac, whereas my 
linux machines are all headless. Sadly I have not been able to try the game.





Re: I'm creating a game purely written in D with the arsd library

2021-01-02 Thread James Blachly via Digitalmars-d-announce

On 1/2/21 2:10 PM, Murilo wrote:

On Saturday, 2 January 2021 at 05:43:48 UTC, James Blachly wrote:

On 1/1/21 11:12 PM, Murilo wrote:

Here is the link
https://drive.google.com/file/d/1Il1xLN8b5rzghYLXTQqq2apv5YMKv7rx/view?usp=sharing 





Bro I would be shocked if people are excited to run a mystery binary 
downloaded from Google Drive.


The ELF binary does contain arsd symbols, and at least VMs and Unix 
systems give us privilege and resource isolation safety these days. 
Still, why not source code on Github?


The reason why I won't show the source code is because I don't want 
anyone hacking the game or find out the surprises hidden in the game, I 
want the game to be a mystery, you have to play it to know what is gonna 
happen. I also don't want anyone stealing my idea.


I promise I don't mean to be rude, just "confrontationally instructive." =)

But as far as the game, the strings are all in the binary:

```
Alabaster Amphora
Beautiful souvenir from Silmaria, you smell hippocrene water.
Those are delicious, and healthy.
Those are shiny gold Dracmas, use it well.
This is a cheap weapon which you can throw at the enemy.
Someone has been looking for this since 2003.
This should be 100 Brazilian Reals.
Eating this might teach me to speak Chinese.
It says Davy Jones on the label of this product.
```
(incidentally it look like a funny game to be sure)

And as far as the code, you have somehow imported the source text of one 
of your files into the binary:


```
// Starting items
ItemForSale alabasterAmphora = ItemForSale("Alabaster Amphora", 
"Beautiful souvenir from Silmaria, you smell hippocrene water.",


Image.fromMemoryImage(loadImageFromMemory(cast(immutable ubyte[]) 
import("items/alabaster amphora.jpeg"))),


Image.fromMemoryImage(loadImageFromMemory(cast(immutable ubyte[]) 
import("icons/icon alabaster amphora.jpeg"))),

   200, false),
fruits = ItemForSale("Fruits", "Those are delicious, 
and healthy.",

```

Anyway, my point is -- try to not to worry to much that others will 
steal your code or your idea. A determined adversary will do what he wants.


My final suggestion is that -- given this is a D programming 
enthusiasts' newsgroup, where we are interested in seeing D code, you 
might get great feedback on the code itself.


Kind regards




Re: I'm creating a game purely written in D with the arsd library

2021-01-02 Thread Guillaume Piolat via Digitalmars-d-announce

On Saturday, 2 January 2021 at 04:12:29 UTC, Murilo wrote:

Here is the link
https://drive.google.com/file/d/1Il1xLN8b5rzghYLXTQqq2apv5YMKv7rx/view?usp=sharing


I can't pass the first screen with a static photo and music. Help?




Re: I'm creating a game purely written in D with the arsd library

2021-01-02 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, Jan 02, 2021 at 09:05:03PM +, Murilo via Digitalmars-d-announce 
wrote:
> On Saturday, 2 January 2021 at 19:15:44 UTC, evilrat wrote:
> > On Saturday, 2 January 2021 at 19:10:59 UTC, Murilo wrote:
> > > I also don't want anyone stealing my idea.
> > 
> > Too late. You already posted it. Technically anyone could "steal" it
> > from now.
> 
> But they would have to write their own code, they can't copy paste my
> code.

Nope.  Reverse-engineering is a thing.  There's even tools out there to
automate this stuff.


T

-- 
Trying to define yourself is like trying to bite your own teeth. -- Alan Watts


Re: I'm creating a game purely written in D with the arsd library

2021-01-02 Thread H. S. Teoh via Digitalmars-d-announce
On Sat, Jan 02, 2021 at 09:01:17PM +, Murilo via Digitalmars-d-announce 
wrote:
[...]
> It's because I don't people to know the spoilers, so no one will see
> the source code.

IMO, that view is misguided, because as soon as some software runs on
the user's PC, it's already open to reverse-engineering. Given enough
time and effort, everything can be reverse-engineered.

The catch is, "given enough time and effort".  Meaning, it's *possible*
to reverse-engineer everything, but whether or not someone will actually
do it depends on whether they consider it worth their time and effort.
I'd surmise practically everyone will consider it not worth the effort.
By extension, given the source code, people might be curious to look at
a couple of pages of it, but I honestly doubt they'd have the motivation
to comb through every last page to ferret out any secrets you may have
hidden. (And if they actually did, then congratulations, you've gained a
dedicated follower. That's not a bad thing! You *want* users with that
level of dedication.)

Providing source code is mainly for convenience to people who might want
to compile it for platforms you do not have (thus spreading the word
about your program).


T

-- 
The two rules of success: 1. Don't tell everything you know. -- YHL


Re: I'm creating a game purely written in D with the arsd library

2021-01-02 Thread Murilo via Digitalmars-d-announce

On Saturday, 2 January 2021 at 19:15:44 UTC, evilrat wrote:

On Saturday, 2 January 2021 at 19:10:59 UTC, Murilo wrote:

I also don't want anyone stealing my idea.


Too late. You already posted it. Technically anyone could 
"steal" it from now.


But they would have to write their own code, they can't copy 
paste my code.


Re: I'm creating a game purely written in D with the arsd library

2021-01-02 Thread Murilo via Digitalmars-d-announce

On Saturday, 2 January 2021 at 19:38:37 UTC, Adam D. Ruppe wrote:
On Saturday, 2 January 2021 at 05:43:48 UTC, James Blachly 
wrote:

Still, why not source code on Github?


Is this really any different? Do you actually audit the source?

simpledisplay is 17,000 lines. How much of that code is pure 
evil? Part of my twisted desire to burn the entire universe 
into atoms then recreate the world in my own image?


spoilers: all of it :P


It's because I don't people to know the spoilers, so no one will 
see the source code.
And here is the new link to it: 
https://madscientisthaven.blogspot.com/2021/01/an-awesome-new-game-for-you-to-have-fun.html


Re: I'm creating a game purely written in D with the arsd library

2021-01-02 Thread Adam D. Ruppe via Digitalmars-d-announce

On Saturday, 2 January 2021 at 05:43:48 UTC, James Blachly wrote:

Still, why not source code on Github?


Is this really any different? Do you actually audit the source?

simpledisplay is 17,000 lines. How much of that code is pure 
evil? Part of my twisted desire to burn the entire universe into 
atoms then recreate the world in my own image?


spoilers: all of it :P


Re: I'm creating a game purely written in D with the arsd library

2021-01-02 Thread evilrat via Digitalmars-d-announce

On Saturday, 2 January 2021 at 19:10:59 UTC, Murilo wrote:

I also don't want anyone stealing my idea.


Too late. You already posted it. Technically anyone could "steal" 
it from now.


Re: I'm creating a game purely written in D with the arsd library

2021-01-02 Thread Murilo via Digitalmars-d-announce

On Saturday, 2 January 2021 at 05:43:48 UTC, James Blachly wrote:

On 1/1/21 11:12 PM, Murilo wrote:

Here is the link
https://drive.google.com/file/d/1Il1xLN8b5rzghYLXTQqq2apv5YMKv7rx/view?usp=sharing



Bro I would be shocked if people are excited to run a mystery 
binary downloaded from Google Drive.


The ELF binary does contain arsd symbols, and at least VMs and 
Unix systems give us privilege and resource isolation safety 
these days. Still, why not source code on Github?


The reason why I won't show the source code is because I don't 
want anyone hacking the game or find out the surprises hidden in 
the game, I want the game to be a mystery, you have to play it to 
know what is gonna happen. I also don't want anyone stealing my 
idea.


Re: I'm creating a game purely written in D with the arsd library

2021-01-01 Thread James Blachly via Digitalmars-d-announce

On 1/1/21 11:12 PM, Murilo wrote:

Here is the link
https://drive.google.com/file/d/1Il1xLN8b5rzghYLXTQqq2apv5YMKv7rx/view?usp=sharing 



Bro I would be shocked if people are excited to run a mystery binary 
downloaded from Google Drive.


The ELF binary does contain arsd symbols, and at least VMs and Unix 
systems give us privilege and resource isolation safety these days. 
Still, why not source code on Github?


I'm creating a game purely written in D with the arsd library

2021-01-01 Thread Murilo via Digitalmars-d-announce
Hi everyone, I'm creating a story telling RPG point and click 
game with images and sounds downloaded from the internet and a 
storyline full of references and jokes. I'm releasing the current 
state of the game, it's far from being complete but you guys can 
see how far I've gone so far.


Please tell me critics and suggestions, I want to know your 
opinions.


Here is the link, just download and run it(double click on 
Windows or open the terminal and type ./Game on Linux).





Re: I'm creating a game purely written in D with the arsd library

2021-01-01 Thread Murilo via Digitalmars-d-announce

Here is the link
https://drive.google.com/file/d/1Il1xLN8b5rzghYLXTQqq2apv5YMKv7rx/view?usp=sharing