adarkroom | A Dark Room - A Minimalist Text Adventure | Theme library
kandi X-RAY | adarkroom Summary
kandi X-RAY | adarkroom Summary
a minimalist text adventure game for your browser. Available Languages Chinese (Simplified) Chinese (Traditional) English French German Greek Indonesian Italian Japanese Korean Norwegian Polish Portuguese Portuguese (Brazil) Russian Spanish Swedish Thai Turkish Ukrainian Vietnamese Lithuanian Galician . or play the latest on [GitHub] .
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- trigger swipe end event
- Creates a new timer
- trigger touchstart event
- Show sound alert .
- Attach a touch event .
- translates to a translation
- Finds a touch identified by id .
- Update event position .
- Checks if element is inside view
- Handle mouse events .
adarkroom Key Features
adarkroom Examples and Code Snippets
Community Discussions
Trending Discussions on adarkroom
QUESTION
I have come across several web-based games (i.e. http://adarkroom.doublespeakgames.com/ or http://minmaxia.com/c2/) or i.e. Clicker Heroes on Kongregate that enable you to export a save game as something that looks like a random string of text. This can then be imported again to load the game.
I would like to program something in javascript that converts what I would normally store in localStorage:
...ANSWER
Answered 2017-Mar-22 at 19:32What I thought about, when I read this question was Base64
and indeed, one of the websites linked by you that I checked, uses it.
If you would like to minimize length of output of this function, you could gzip it's input first, as shown in this question.
I also noticed that you tagged this question “encryption”. This has nothing to do with it, those strings can be converted back into plain text by anyone without any problem. If you would like to encrypt user's state and settings with a password of his choice, do it with AES. There is implementation of it in JS called JSAES.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install adarkroom
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page