Wireless networks and mobile computing today has become a rising branch of discipline. In the development of the 4th generation mobile communication, mobile ad hoc networks, infrastructure wireless networks, and fixed internet framework will eventually get united. Wireless ad hoc networks with easy maintenance, flexibility, self-organization and management capabilities, and low cost properties will still play a great role and do continued development of new commercial applications. With the highly independent ad hoc networks, we propose a routing protocol using game theory applied to the routing. The cost will be set by the respective nodes and we compute the least-cost path by using VCG mechanism.