Coder Social home page Coder Social logo

netchallonged's People

Contributors

eoma avatar fireneslo avatar steinbitglis avatar technocake avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

netchallonged's Issues

closing client sockets timeout on attempts,

The client threads should really close the sockets after a timeout, so that blocking clients wont hang.

Problem: If a client speaking to the server is blocking, the NerdHandler will hang to. All the way until the client closes the connection.
The control of the socket should be on the server side, not the challenge side.

Solution:
A) Implement a timeout for each NerdHandler, and kill the NerdHandler after f.ex: 2s

For killing a thread, see:
http://mail.python.org/pipermail/tutor/2001-June/006702.html

auto-generated links to reach next lvl

When the web-interface is up, it should provide an entrypoint for reaching the next level when a challenge is cleared.
Here it should be required to submit the code. Then the next level unlocks on the server.

This auto-generated link should be sent with the "correct / Inncorect"

Create MazeChallenge

To create this challenge we need a map where we can get from a point start to a point goal with several paths. We will need to keep track of the number of steps used to get to the goal, and if the goal was reached. The client will be sending move instructions(ex 1), and the server should return current position in the map as an ascii map(ex 2).

ex1:
input: ↑←↓→→→→→

ex2

S###0##0

#00000000

0##0##0

#00##0##0
#0##00#00
#0##0000
#00#0##00

0000##0

G

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.