17 lines
390 B
Plaintext
17 lines
390 B
Plaintext
// Minimal test for player-room interaction
|
|
using "text_adventure/simple_rooms.hako"
|
|
|
|
// Create a room
|
|
print("Creating room...")
|
|
room = new Room("Test Room", "A test room")
|
|
|
|
// Test direct access
|
|
print("Direct access to room.visited: " + room.visited)
|
|
|
|
// Test look method
|
|
print("\nCalling room.look()...")
|
|
lookResult = room.look()
|
|
print(lookResult)
|
|
|
|
print("\n✅ Minimal test completed!")
|