Jump to content

PHP class Problem


Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.