Added some game algorithms