Giter VIP home page Giter VIP logo

castle's People

Contributors

akhilerm avatar ba517h avatar swarajkr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

castle's Issues

can access another user's file

can access another's users file, eg: can edit solution file, verify that file and submit it. The accesing is done by using ../ in file path. Need to clean input for all commands

negative time is shown

when the timeout occurs when the user is logged out, when logging in a negative time is shown, immediately after which timout alert comes and everything becomes normal

Verification email content change

The current content of verification email is just a single line of text. It should be replaced with the default template used for mail in vendor/laravel/framework/src/Illuminate/Notifications/resources/views/email.blade.php. Then a cleaner interface can be created for the email.

Python driver file does not support function with multiple arguments

When multiple arguments are given, it is converted to tuple and hence cannot be used in the solution file.
eg: def answer(n ,m): in solution file. when calling answer function from driver.py it is converted to tuple which creates the argument as a single tuple instead of two integers.

timeout issue

when the challenge times out, after 0:0:0 in the countdown , -1:-1:-1 is shown . and it remains stuck. also the user directory is removed instead of the question directory. 8bc7cb6

cannot cd into question directory

After registering, if we play the game directly. cd will not work. I think it's an issue with the active field in users table. when active is changed to 1 and then logging in . it works.

New questions

Currentl we have only a single question for you to try and code. New questions, solutions and answer test cases are required so that people who visit the game get an entirely different experience each time. All new questions can be submitted in this issue and will be added to challenge.

To submit a new question, 3 things are required: the question itself, its solution in python and 10 test cases.

after timeout the user can request again for a challenge

The user can request again for a challege after timeout. This feature works only if there are large no.of questions in each level and sublevel. Otherwise the user gets the same question again and again. Some of counter should be added so that after a certain no.of timeouts the user is locked out.

[REQUEST ]editor modifications

editor should be shown only when edit command is entered and should hide when Ctrl+e is pressed. editor needs to display just the file names, not save and close buttons.

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.