transformationstarts Posted April 8, 2010 Share Posted April 8, 2010 hey, I have been working on this problem/game for a while and i need some help if possible. i have to create a PHP class that will solve the marble solitaire game. I thought the best way is to use backtracking algorithm. If there is anyone that can help me on this i really appreciate it. PS: i obviously know how to solve the game on the board but how would we create a class in php for its solution and then create something like a database to insert the winning paths. Thanks Link to comment https://forums.phpfreaks.com/topic/198021-php-class-problem/ Share on other sites More sharing options...
TeddyKiller Posted April 8, 2010 Share Posted April 8, 2010 Try have a go, and post your code and errors if you get a problem. Link to comment https://forums.phpfreaks.com/topic/198021-php-class-problem/#findComment-1039072 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.