[Game of Purpose] Day 47 – Sync engine with a battery



This content originally appeared on DEV Community and was authored by Maciej Sawicki

Today I implemented engine synchronization with a battery. When I turn the engine on, the battery is also starting to drain. When I turn the engine off the battery depletion stops.


This content originally appeared on DEV Community and was authored by Maciej Sawicki