controllers/game/e_p_controller.js

  1. import { Controller } from "@hotwired/stimulus"
  2. /**
  3. * @class Game.EPController
  4. * @classdesc Stimulus controller on the 404 page to start the game with the first answer.
  5. * @extends Controller
  6. */
  7. export default class EPController extends Controller {
  8. /**
  9. * Prints a console log with the first answer in the game with a path to the next puzzle.
  10. *
  11. * @instance
  12. * @memberof Game.EPController
  13. * @returns {void} N/A
  14. * */
  15. initialize() {
  16. console.warn(
  17. "Good job! I told you it would be simple to start with. Want more? /game/get-to-know-each-other/"
  18. )
  19. }
  20. }