User:Draker~enwikibooks

PHP only game would need this basic turn based algorithm:

while game is running

Player moves

Computer moves

Further game update logic

Game Render

Game Paint

End While

Draker (discuss • contribs) 03:51, 22 November 2011 (UTC)