zoukankan      html  css  js  c++  java
  • [Clojure] A Room-Escape game, playing with telnet and pure-text commands

    Code path:

    https://github.com/bluesilence/Lisp/tree/master/clojure/projects/room-escape


    As I have been a fan of room-escape games, there have always been a desire to make my own story of a room-escape game. However, I'm not a UX and don't know much about GUI. So I created this pure-text room-escape game, with scalable API for new stories.


    1. Build the model of a room

    To begin with, I pictured a draft room, with nothing but a door and a table.

    Then the door needs to have a locker and a key to escape from it.

    Now where to put the key?

    I decided to hide the key into a safe with a password panel. The player have to enter the correct password to open it.

    Then how does the player find clue about the password?

    I designed to leave some message on a card which is placed on the table. When player picks the card and examine it, he/she will get the riddle on the card.

    Check the scratch below:


    That's all the story for a simple room to escape from!


    The following chapters will explain how the program works.


  • 相关阅读:
    links[v1]
    WebSocket handshake: Unexpected response code: 404
    Spring mvc 启动 和 请求分发
    匹配括号
    js parseFloat 精度问题
    遍历查找跳格子逻辑
    Generic type test java
    java高效判断素数
    从数组中取3个数全排列
    vue-cli
  • 原文地址:https://www.cnblogs.com/blfshiye/p/5385599.html
Copyright © 2011-2022 走看看