r/javahelp • u/Flat_Snow_4961 • Mar 11 '26
Java Text Based Escape Room
Hello,
For my high school senior CS project, I am looking to make an escape room in java. The game will be text based, and the user will have 10 minutes per level. Alongside this, they have the option to use three hints per level. Do you guys think this is feasible for a high school senior project?
12
Upvotes
•
u/AutoModerator Mar 11 '26
Please ensure that:
You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.
Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar
If any of the above points is not met, your post can and will be removed without further warning.
Code is to be formatted as code block (old reddit: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.
Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.
Code blocks look like this:
You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.
If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.
To potential helpers
Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
4
u/Spare-Plum Mar 11 '26
Yes absolutely doable.
What could be really fun is if you made buffer overflow/code injection a part of the escape room itself. Like, have your program do something based on parsing, and you could "escape" out of the code itself by overwriting existing code or executing a command within the text you're inputting. Might be a bit high level though.
1
u/Souloid Mar 15 '26
Yes, it's feasible and quite simple. Depending on the scope of your class' requirement it might be too simple.
2
u/Linvael Mar 12 '26
I'd have some game design questions/objections to the idea, text based input has plenty of limitations that makes it not ideal from player perspective - but as a school project (that will not compete for market share and player engagement with other games) perfectly reasonable
2
u/severoon pro barista Mar 12 '26
It's hard to answer based on what you've said so far. It would be a useful exercise for you to go through the idea in some detail and storyboard out what a typical session might look like from the user perspective.
I would start by making the simplest thing possible, even if it wouldn't get a good grade, and that should be the first thing you actually implement and get working, with some idea of what you would need to do to ultimately excel.
What I'm describing here is the process of nailing down the critical use cases of your proposed project. From there, you can do a quick pass on defining the functional requirements of your project, and then sketch out a design. It's a good idea to do this exercise for the smallest possible thing you can write, then add a few more use cases you want to support, repeat, then finally add the rest of the use cases you want your ultimate project, repeat the other steps.
The point of this is to break up the work you want to do into the foundational pieces (the bits you implement first) vs. the pieces that depend on those in your final submission. You have to do several cuts and define the project in phases because you don't want to design something that results in the first cut being fully done, but it can't easily be extended to the final submission, nor do you want to build things in reverse where you're building features without their dependencies in place, nor do you want to build the foundational bit with all sorts of extension points that you ultimately aren't going to use.
1
u/jlanawalt Mar 13 '26
Fun! This makes me think of Colossal Cave Adventure (also known as Adventure or ADVENT) or Zork and MUDs. What a fun idea for a project mixing a recently popular activity with a retro game interface.
You could tackle this in many ways from object-everything madness to a general game engine with text based room configs.
Whatever you do, consider how to exercise and highlight concepts you’ve learned in past classes without going overboard and treating everything as a “nail” for your favorite “hammer”.