2025-08-09 15:14:44 +09:00
|
|
|
// Minimal test for player-room interaction
|
2025-11-06 15:41:52 +09:00
|
|
|
using "text_adventure/simple_rooms.hako"
|
2025-08-09 15:14:44 +09:00
|
|
|
|
|
|
|
|
// 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)
|
|
|
|
|
|
2025-09-25 00:41:56 +09:00
|
|
|
print("\n✅ Minimal test completed!")
|