Please tell how to make game like mini miltia which work on lan
Develop games in your browser. Powerful, performant & highly capable.
A good start would be by installing C2 and using their platform example as a start. For the LAN part, you can purchase something from the Scirra store for multi-player.