首页 > Web开发 > 详细

A Room-Escape game made by Clojure, playing with telnet and pure-text commands - Part 1

时间:2014-10-05 15:47:18      阅读:334      评论:0      收藏:0      [点我收藏+]

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:

bubuko.com,布布扣

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


The following chapters will explain how the program works.


A Room-Escape game made by Clojure, playing with telnet and pure-text commands - Part 1

原文:http://blog.csdn.net/bluesilence/article/details/39802943

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!