A
Adam Bilbrough
Hey!
So I'm new to Ruby (comming from a Python/C# background) and I love the
language! So much so, that I want to re-create a text based dungeon
game.
I got the basics down with help from a Ruby book I'm reading and I've
upgraded it with many new areas, enemies and some objectives but am a
bit stumped on how to make it manually navigable. I thought having
@player.location.connections { player_move "go south" } might work, but
it didn't.
Also, I'm in the process of adding an inventory and items (for quests)
and am just wondering if using a 4 by 4 array system that the game
checks for items stored in the array that the player can use, is the
best way to go about things.
Thanks in advance!
So I'm new to Ruby (comming from a Python/C# background) and I love the
language! So much so, that I want to re-create a text based dungeon
game.
I got the basics down with help from a Ruby book I'm reading and I've
upgraded it with many new areas, enemies and some objectives but am a
bit stumped on how to make it manually navigable. I thought having
@player.location.connections { player_move "go south" } might work, but
it didn't.
Also, I'm in the process of adding an inventory and items (for quests)
and am just wondering if using a 4 by 4 array system that the game
checks for items stored in the array that the player can use, is the
best way to go about things.
Thanks in advance!