Abstrct / Schemaverse

The Schemaverse is a space-based strategy game implemented entirely within a PostgreSQL database. Compete against other players using raw SQL commands to command your fleet. Or, if your PL/pgSQL-foo is strong, wield it to write AI and have your fleet command itself!
schemaverse.com
PostgreSQL License
356 stars 39 forks source link

Adding round visualizer to TrainingWheels #24

Closed Sailias closed 11 years ago

Sailias commented 11 years ago

I have added the round by round functionality to the training wheels section. I have integrated it into that section without making it a separate page to maintain look and feel.

TrainingWheels is a single page app that already has login built into it, So i kept that as the rest of the pages would use the $_SESSION['username'] variable.

Right now it will show the ship placement for all ships owned by the logged in person for each round.

I assume there is a trust relationship with db.schemaverse and TW so i've setup the connections to use that and not supply a password.

You might need to double check it's working correctly from the server as I can't test that. The file to double check would be setup.php.

I have also isolated all of the functionality into it's own folder, js files, and css files.

Sailias commented 11 years ago

I also formatted your code, cause it needed it sooooooo bad. :)

Abstrct commented 11 years ago

I should deny this for it being against ALL Schemaverse coding guidelines. Did you even read the specs??

But, the results are cool. So I will allow this.