Git Product home page Git Product logo

coder-mini-quest's People

Contributors

rodiongork avatar

Watchers

 avatar  avatar

coder-mini-quest's Issues

Rewrite the server-side script to Python

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).

Remember game state and propose to continue

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.

Rewrite Find-a-Match checker in Python or Perl

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.