rodiongork / coder-mini-quest Goto Github PK
View Code? Open in Web Editor NEWSmall text quest with programming exercises
Small text quest with programming exercises
Here is x.cgi
script, currently in Perl
. It would be good to develop Python
version simultaneously, so people could test/investigate it locally with more convenience (since Python is many times more popular currently).
No superb knowledge of Perl is required as the script is only about 1kb size. However questions are welcome (probably I'll produce description soon also).
When the page is loaded we ask user for nickname.
Let's store current location and flags in the sessionStorage
for example, under the given nickname - and if user enters
nickname which already was stored, offer to continue game, rather than start from beginning.
Current version of Find-a-Match checker (file cgi-bin/dat/3410.sh
) is a shell script. We are not going to support it in future for
various reasons - so please create 3410.py
version (in Python) of it, or optionally in Perl (3410.pl
then).
Suppose the script is called with two arguments in command line - first of them seed for randomizer. The second (optional) is the user's answer.
If answer is not provided, generate few hundreds of numbers, all different, then duplicate any single of them and shuffle.
If user provides answer which matches duplicated element (for given seed), output success message ending with flag separated with colon :mtcze
in this case, I think. Otherwise produce error message.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.