Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.

Latest commit

 

History

History
26 lines (19 loc) · 945 Bytes

readme.md

File metadata and controls

26 lines (19 loc) · 945 Bytes

MancJS October: Code Golf

The server used to run the MancJS code golf game.

How to run server

  • Clone the repo
  • npm install
  • node mancjs-golf

URLs

/ The main submission page where players can repeatedly submit new solutions to the current game. Players need to enter an email address (used for gravatar images) and a team name.

/admin Page to create new games and set the input and output data for the game. Stopped games prevent new submissions and allow players to view other player submissions.

The admin page is protected with HTTP basic auth (user admin pass admin). You can modify the credentials by changing the file routes/admin.js.

Notes

Changing the title of the game on the admin page and clicking Start Game will clear current entries and begin a new game. All other modifications update the currently running game.