Using a random number generator _is_ the same as working like a slot machine. Online blackjack, slot machines, and video blackjack all use random number generators.
It is a Nevada state law that an electronic game with representations of cards or dice must be based on fair odds. So the game should be fair with odds the same as in a hand dealt game having the same rules.