I am Evan Chen, an MIT grad student and math olympiad coach. You can find me in the following places:
I'm also an amateur programmer, I guess.
General MOSP website
License: MIT License
I am Evan Chen, an MIT grad student and math olympiad coach. You can find me in the following places:
I'm also an amateur programmer, I guess.
On a page like https://mosp.evanchen.cc/volume/I if the hunt has completed (and hence spoilers are enabled) it would be nice if there was some more obvious notification after the list of chapters that the bottom right has the option to enable spoilers. You can probably write a
Right now, the Enable Spoilers and similar are pretty faint, easy to miss. You may like to tweak the color too.
Write a model named Hint
in core/models.py
for the hint system, and integrate it into the admin interface in core/admin.py
. You can mostly follow the existing code for examples of how to structure this.
Each Hint
object needs to point to particular puzzle, have a question, content, and cost in patience (integer).
This might require a code commit lol
Consider the page
https://mosp.evanchen.cc/chapter/1/spoil
and look at a situation in which the solver has some unlocked/found puzzles that aren't solved yet.
The "Not Solved" links should ideally be "Not Solved (link to solution)".. Search for the "Bypass puzzle" link in order to figure out how to set the URL.
Note that the link to solution should only show up in spoiler mode, so https://mosp.evanchen.cc/chapter/1 should not show such links.
aaaaaaaaa
https://mosp.evanchen.cc/I/puzzle/kindergarten
Modify the view and template so that, if the hunt has finished, a clickable ๐ shows up. Clicking the gift box should yield a modal with all hints associated to that puzzle in a dropdown, and picking one should reveal the hint content.
Logic for spending patience or delay is not needed now; these will be implemented for "active" hunts later on. Consequently it's not necessary to display the patience costs for now.
This should probably be done via SweetAlert. Check checkname.ts
for an example of how SweetAlert is used.
This is probably better to do after #18 is done.
Both of you should pick a code editor. Some names I hear:
Anything from https://www.guru99.com/best-free-code-editors-windows-mac.html is generally good.
You should try opening README.mkd
and any of the Python files in the editor to make sure they are working properly. Note that this project uses tabs instead of spaces. Spaces are more standard elsewhere, so you might have to change a setting somewhere to use tabs instead for Python editing.
The links labeled https://mosp.evanchen.cc/staff/hunts are not implemented yet. It would be nice to implement them so that they give a list of all the unlockables that are associated with that hunt.
You can look at how StaffPuzzleList
in core/views.py
and core/staff_puzzle_list
are defined in order to think about how to write this view.
Send out a message to Discord when someone solves a puzzle (or submits a wrong answer, etc.)
we currently have 0 because i am a clown
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.