Combine that with the randomness of the block hash the tx was included in if you want to prevent people from gaming it.