This console program is a simple text-based game that allows users to interact with a virtual world. The program uses the SDL library play music.
The following commands are available in the program:
help
- Display a list of available commands or a description of the specified command.close
- Close the door.create
- Create a new object.delete
- Delete an existing object.demo
- Replace object schema with demo one.exit
- Terminate the program.list
- Display a list of objects or object properties.load
- Load the location of objects from the specified file.music
- Music playback control.musicposition
- Find out or set the current music playback position.off
- Turn off the lamp.on
- Turn on the lamp.open
- Open the door.store
- Save the location of the objects to the specified file.volume
- Find out or set the playback volume level.
-
Clone the repository:
git clone https://github.com/AntonZimyanin/smart_house.git
-
Navigate to the project directory:
cd smart_house
-
Project build and run
./build_and_run.sh
This program was created by Nikolay Levkovich for educational purposes at BSU.
This program is licensed under the MIT License.