Compare commits

..

2 Commits

Author SHA1 Message Date
Niels Simenon 8b75691c5f 1.18.0 2022-10-28 03:45:53 +02:00
Niels Simenon 6ebe1cf4aa Added riddles outline. 2022-10-28 03:45:50 +02:00
4 changed files with 21 additions and 3 deletions

6
assets/riddles.json Normal file
View File

@ -0,0 +1,6 @@
[
{
"riddle": "What has to be broken before you can use it?",
"answer": "An egg."
}
]

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "schat2-clive",
"version": "1.17.3",
"version": "1.18.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "schat2-clive",
"version": "1.17.3",
"version": "1.18.0",
"license": "ISC",
"dependencies": {
"bhttp": "^1.2.8",

View File

@ -1,6 +1,6 @@
{
"name": "schat2-clive",
"version": "1.17.3",
"version": "1.18.0",
"description": "Game host for SChat 2-powered chat sites",
"main": "src/app.js",
"scripts": {

12
src/games/riddle.js Normal file
View File

@ -0,0 +1,12 @@
'use strict';
const riddles = require('../../assets/riddles.json');
const open = new Map();
function onCommand(args, context) {
}
module.exports = {
onCommand,
};