Added riddles outline.

This commit is contained in:
Niels Simenon 2022-10-28 03:45:50 +02:00
parent dc6df7c344
commit 6ebe1cf4aa
2 changed files with 18 additions and 0 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."
}
]

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,
};