demo for a 2d batlle systems