{"id":45,"date":"2025-06-04T04:09:54","date_gmt":"2025-06-04T04:09:54","guid":{"rendered":"https:\/\/gurencodes.com\/blog\/wordpress\/?p=45"},"modified":"2025-06-04T05:14:41","modified_gmt":"2025-06-04T05:14:41","slug":"project-15-haunted-mansion-text-adventure-with-inventory-weapons-talking-map-etc-java","status":"publish","type":"post","link":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/2025\/06\/04\/project-15-haunted-mansion-text-adventure-with-inventory-weapons-talking-map-etc-java\/","title":{"rendered":"Project #15:\u00a0Haunted Mansion text adventure with inventory, weapons, talking, map, etc. (Java)"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/safebooru.org\/\/samples\/1038\/sample_71d419b468fe134ca46c0be83aefe62549751754.jpg?5762909\" alt=\"1girl absurdres animal_ear_fluff arisyooon bandaged_head bandages black_jacket bow braid colored_inner_hair cowboy_shot cropped_shirt double-parted_bangs fur-trimmed_jacket fur_trim hair_between_eyes halloween highres ichinose_uruha ichinose_uruha_(4th_costume) jacket long_hair looking_at_viewer lupinus_virtual_games mask mask_pull midriff_peek mouth_mask multicolored_hair navel off_shoulder open_mouth partially_open_jacket pumpkin purple_hair shirt simple_background sleeveless sleeveless_shirt solo tail tail_bow tail_ornament violet_eyes virtual_youtuber vspo! white_background white_shirt\"\/><\/figure>\n\n\n\n<p><a href=\"https:\/\/replit.com\/@grimmal72\/Haunted-Mansion-Java\" data-type=\"link\" data-id=\"https:\/\/replit.com\/@grimmal72\/Haunted-Mansion-Java\">Link<\/a><\/p>\n\n\n\n<p><strong>Estimated date of creation:<\/strong>&nbsp;May 20th, 2024<\/p>\n\n\n\n<p><strong>Status:<\/strong>&nbsp;Online \ud83d\udfe2<\/p>\n\n\n\n<p>This is one of my proudest creations. It&#8217;s a text adventure game with a fairly complicated text-understanding terminal (basically like Zork) with rooms, a map, items, etc. This was the first truly ambitious code project I ever made, in my opinion. It&#8217;s made in Java, and was made for a computer science degree Java class. (I dropped out of the CS degree again, btw, although I was like 70% done, I hate college) You can pick up a chainsaw and other weapons, you can look at rooms and things, there&#8217;s bosses, etc. This game is supposed to be a horror game, based on a mixture of Resident Evil, Devil May Cry 1, and Evil Dead. There&#8217;s a giant spider, a ghost in knight&#8217;s armor, a room with a horde of zombies, etc.<\/p>\n\n\n\n<p>It has cursed text, a NWSE directional navigation system, you can say &#8220;go north&#8221;, &#8220;north&#8221;, or &#8220;n&#8221; to go north, there&#8217;s a maximum of 100 moves before you run out of time and the zombies break in, there&#8217;s a function to wait a few turns at a time to wait for them to break in, there&#8217;s a &#8220;take&#8221; function, &#8220;look at&#8221; function, &#8220;drop&#8221; function, &#8220;inventory&#8221; function, &#8220;map&#8221; function, etc. Every time you hit a new room, it tells you where you are. If you can&#8217;t go there, it tells you. If you need a key, it tells you. There&#8217;s a story to the game.<\/p>\n\n\n\n<p>The program involved learning Java objects, classes, the map data structure, and has some fairly complicated if else logic.<\/p>\n\n\n\n<p>I have a hard time understanding my old programs, sometimes, so this one will be difficult for me to wrap my head around if I want to make another complicated text adventure.<\/p>\n\n\n\n<p>I actually don&#8217;t know how to run Java programs from NetBeans or the command line or anything, so this will have to keep sitting on Replit, I guess.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Link Estimated date of creation:&nbsp;May 20th, 2024 Status:&nbsp;Online \ud83d\udfe2 This is one of my proudest creations. It&#8217;s a text adventure game with a fairly complicated text-understanding terminal (basically like Zork) with rooms, a map, items, etc. This was the first truly ambitious code project I ever made, in my opinion. It&#8217;s made in Java, and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-45","post","type-post","status-publish","format-standard","hentry","category-code-projects"],"_links":{"self":[{"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/45","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":2,"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/45\/revisions"}],"predecessor-version":[{"id":98,"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/45\/revisions\/98"}],"wp:attachment":[{"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gurencodes.com\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}