Skip to content

Commit 3831414

Browse files
committed
Updated rules
1 parent c2de6fe commit 3831414

File tree

16 files changed

+3
-3
lines changed

16 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ Players can submit updated solutions as often as they like on the submission pag
4949

5050
#### Rules
5151

52-
- Your solution must be a single synchronous function assigned to `module.exports`
53-
- Your code must run in strict mode – use node's `--use_strict` flag to test your script
52+
- Your solution must be a single synchronous function named `play` (don't worry about exporting it)
53+
- Your code will be run in strict mode – use node's `--use_strict` flag to test your script
5454
- All JavaScript language features available in Node.js `v16.12.0` are available, with game-specific exceptions
5555
- Scripts are timed-out and fail after 5 seconds of execution time
5656
- Comments, line breaks and whitespace **do not count** towards your score

views/play.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ <h4>You can now view other solutions by clicking on them.</h4>
8686
<p>
8787
View the
8888
<a
89-
href="https://github.com/mancjs/mancjs-code-golf#playing"
89+
href="https://github.com/asyncjs/mancjs-code-golf#playing"
9090
target="_blank"
9191
>rules</a
9292
>

0 commit comments

Comments
 (0)