If you want a master and a slave buy 2 of the HC-05, they can be programmed to be master or slave so you can have one project controlling a second remote project. This is by far the easiest way of achieving your goal without getting into the ESP8266 and ESP32 WiFi & Bluetooth modules.