Skip to content

Commit

Permalink
tidied up
Browse files Browse the repository at this point in the history
  • Loading branch information
gciolli committed Dec 6, 2010
1 parent 1ba9155 commit 5d75bf1
Show file tree
Hide file tree
Showing 9 changed files with 767 additions and 3 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Gianni Ciolli <gianni.ciolli@2ndQuadrant.it>
674 changes: 674 additions & 0 deletions COPYING

Large diffs are not rendered by default.

File renamed without changes.
3 changes: 3 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
h1. pgchess and pg2podg

TODO - see the code in the meantime
18 changes: 18 additions & 0 deletions libpg2podg.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
-- libpg2podg.sql : 2-player Open Deterministic Games
-- Copyright (C) 2010 Gianni Ciolli <gianni.ciolli@2ndQuadrant.it>
--
-- This program is free software: you can redistribute it and/or
-- modify it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 3 of the
-- License, or (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful, but
-- WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.

------------------------------------------------------------

CREATE TEMPORARY TABLE my_states (
t timestamp DEFAULT current_timestamp
, id SERIAL PRIMARY KEY
Expand Down
20 changes: 20 additions & 0 deletions libpgchess.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
-- pgchess.sql : a Chess player in PostgreSQL
-- Copyright (C) 2010 Gianni Ciolli <gianni.ciolli@2ndQuadrant.it>
--
-- This program is free software: you can redistribute it and/or
-- modify it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 3 of the
-- License, or (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful, but
-- WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.

-- Requires: libpg2podg.sql

------------------------------------------------------------

--SET work_mem = 64;
--SET temp_buffers = 100;
SET synchronous_commit = off;
Expand Down
18 changes: 17 additions & 1 deletion play_pgchess_CvC.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
SET search_path = chess, public;
-- pgchess.sql : a Chess player in PostgreSQL
-- Copyright (C) 2010 Gianni Ciolli <gianni.ciolli@2ndQuadrant.it>
--
-- This program is free software: you can redistribute it and/or
-- modify it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 3 of the
-- License, or (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful, but
-- WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.

------------------------------------------------------------

SET search_path = chess, public;

\pset format unaligned
\pset tuples_only on
\set VERBOSITY terse
Expand Down
18 changes: 17 additions & 1 deletion play_pgchess_CvH.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
SET search_path = chess, public;
-- pgchess.sql : a Chess player in PostgreSQL
-- Copyright (C) 2010 Gianni Ciolli <gianni.ciolli@2ndQuadrant.it>
--
-- This program is free software: you can redistribute it and/or
-- modify it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 3 of the
-- License, or (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful, but
-- WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.

------------------------------------------------------------

SET search_path = chess, public;

\pset format unaligned
\pset tuples_only on
\set VERBOSITY terse
Expand Down
18 changes: 17 additions & 1 deletion play_pgchess_HvC.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
SET search_path = chess, public;
-- pgchess.sql : a Chess player in PostgreSQL
-- Copyright (C) 2010 Gianni Ciolli <gianni.ciolli@2ndQuadrant.it>
--
-- This program is free software: you can redistribute it and/or
-- modify it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 3 of the
-- License, or (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful, but
-- WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-- General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.

------------------------------------------------------------

SET search_path = chess, public;

\pset format unaligned
\pset tuples_only on
\set VERBOSITY terse
Expand Down

0 comments on commit 5d75bf1

Please sign in to comment.