I've made an incremental game. . .
Tags: showdev
Published: 2020-06-28 06:53:43

_(Sorry for my English, it's not my native)_
So, I'd like to share with you my experience of making incremental games (Merely clickers). Firstly, I figured out what incremnetal games are, at all. I spent a few days to find out what each incremental game should have and why am I makings this game, at all? What the difference from all those that already exist. So, I took a think and distinguished some main aims that I would like to implement:
1. __You take on the role of evilness__
2. __Implement some graphs__
3. __Algorithm for writing huge numbers using latin prefixes__
4. __Using a hash function MD5 for saving protection__

_(1)_

As I think there are not really much incremental games where you can take on the role of evilness. Thus my decision was to make this game in dark atmosphere. You came to this world to destroy humanity and protectors of the earth don't allow you to get your goals. . . Something like this. Clickers don't have a big precursor, because you concentrate on game process, at usual.

_(2)_

I didn't want to reinvent the wheel, thus I decided to use LiveChars library (C#) to implement this. I've gotten this:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/zdnfg453cpffuzglb2vg.PNG)
The first graph shows the ratio of your main character's characteristics. The second one do the same, but you also see how characteristics grow to your char level. Finally, the third one shows how your gold grows to the char level. All the graphs automatically update every five levels.

_(3)_

It seemed to me a little difficult, at first, but then I've implemented it. Here you go an example of working this algorithm (from my presentation):

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/nalyy3p0n17u82ihlwed.PNG)
_(If you are interested in the implementation of this algorithm just write me)_

_(4)_

Image says about 1024 words, __the ratio of SavingName and UserName__:

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/051tsa2kw52bhmburedu.PNG)
When you create a new user, your name and unique MD5 hash function will be added to Users table, then, if you make a saving, you add to Savings table your saving name and automatically created MD5 function. (talbes in SQLite database)

__Abstract process of saving function checking:__

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/gdu7tl0d2eudt5lyrq1j.PNG)
If someone add to his directory another's person saving file he'll get next message:

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/wlehztxcdk4ut86j5utf.PNG)

It merely checks user's and saving's function in database and if it's not the same it won't load and print that message above.

__So, what I've gotten from this project?__
_1. How incremental games work_
_2. How to work with database (SQLite)_
_3. How to write huge numbers_
_4. MD5 hash function notion_

P.S. You can check this game process on my instagram account __(@ederikabartson)__
_My instagram account_ - https://www.instagram.com/ederikabartson/?hl=ru
_Here you go direct link to that video_ -https://www.instagram.com/tv/CBGjQ8aABru/?utm_source=ig_web_button_share_sheet
_Link to my presentation_ - https://my.visme.co/view/mxrrw94j-sick

__By the way, if you want to get this game, just write me anywhere you wish ;)__