You should already know the rules of the game, so I won't waste time typing the whole of it.
This is singleplayer UNO with basic JavaScript-based bots in a single file. You may choose 1-3 bots to play against. I tried to make this as accurate as possible within the constraints of local HTML5.