Simulator to Test Code?

Does anyone know of any robot simulator programs so that the code can be tested without the use of the actual robot? My team keeps stealing the battery of the robot we test on so this would be very convenient.

Rob Bayer has created a simulator to test code:
Hope this is what your looking for
By The Wway - This thread has been created before.

yo jacob.

I see that you just signed up.

AIBob, thanks for the link.