Draw dice results in ASCII Show the random result of a dice toss if done with a cube shaped die, in ASCII.

$ dice


should result in one of 

-----
|   |
| o |
|   |
-----

-----
|o  |
|   |
|  o|
-----

-----
|o  |
| o |
|  o|
-----

-----
|o o|
|   |
|o o|
-----

-----
|o o|
| o |
|o o|
-----

-----
|o o|
|o o|
|o o|
-----
Python, 112 110 chars

from random import*
r=randrange(6)
C='o '
s='-----\n|'+C[r&lt;1]+' '+C[r&lt;3]+'|\n|'+C[r&lt;5]
print s+C[r&amp;1]+s[::-1]