Menu

Tree [04b82c] master /
 History

HTTPS access


File Date Author Commit
 development 2013-04-08 Sérgio Lopes Sérgio Lopes [04b82c] Fix database SQL error that prevented a proper ...
 framework 2013-01-28 Sérgio Lopes Sérgio Lopes [37b22f] Updated Yii version.
 sandscape 2013-04-08 Sérgio Lopes Sérgio Lopes [408246] Updating ignore rules.
 www 2013-04-08 Sérgio Lopes Sérgio Lopes [c22dba] Removing debug.php file from www folder, should...
 .gitignore 2013-04-08 Sérgio Lopes Sérgio Lopes [408246] Updating ignore rules.
 CONTRIBUTORS 2012-02-28 Sérgio Lopes Sérgio Lopes [40e029] Missing files from previous commit
 LICENSE 2011-10-25 Sérgio Lopes Sérgio Lopes [a300ca] Cleanup some docs, add license file and updated...
 README 2013-02-10 Sérgio Lopes Sérgio Lopes [95a970] Fixed view errors due to model changes, added d...

Read Me

SandScape README
================

Intro
-----

*Sandscape* is a browser-based implementation of a CCG being developed as part 
of the *Wtactics* project (http://wtactics.org). It offers the player the 
basic tools for creating a CCG game, without forcing any rules on the actual 
game being played.

Along side the basic playing field, *SandScape* has the usual user management
system, which requires valid authentication in order to play, a lobby system
where players can see each other and arrange games and simple statistics
recording.

No artificial intelligence was implemented in the platform.

About this README file
~~~~~~~~~~~~~~~~~~~~~~

This README file is created using asciidoc syntax and can be converted to any
supported format, such as PDF, HTML or manpage.

Resources
~~~~~~~~~

This file is just an introduction to *Sandscape*, if you want to know more about 
the project please visit the following links or read the documents suggested:
- http://wtactics.org/wiki/index.php?title=Sandscape
- http://wtactics.org/wiki/index.php?title=Sandscape_Development
- Sandscape Manual.pdf

Repository Structure
--------------------

The Git repository is divided in four simple folders:

[horizontal]
development:: Stores any development related file, from design docs, diagrams, UI 
sketches and spike solutions.

framework:: Houses the Yii framework files, used by *Sandscape*. A file named 
VERSION inside this folder contains the version number we're using.

sandscape:: Contains the PHP base system that powers *Sandscape*.

www:: Contains any public resources like imagens, CSS files and every 
JavaScript file needed to run *Sandscape*.

The root directory also contains the LICENSE file, the CONTRIBUTORS file and the 
this README file you are reading.

Requirements
------------

To create a server:

- Apache Web Server
- PHP 5.3+
- MySQL 5.0
- Apache's mod-rewrite

To play a game:

- Browser: Firefox 3.5+, Opera 11+ and Google Chrome 5+

Installation
------------

Installing *Sandscape* is a step only users interested in having their own server
instance should take. You *don't* need to have *Sandscape* installed in order 
to play, the software is installed in a server and accessed using a browser.

.Steps
1. Please make sure you have Apache Web Server, PHP and MySQL installed.

2. Place the contents of the folder *www* in a public accessible place, normally 
this is a folder named *htdocs*, *www* or *public_html*.

3. Place the *sandscape* and *framework* folders outside the public accessible folder.
These two folder contain the application's main files, configurations and many
private informations, it is a security risk to have these files in a place
where every browser can access.

4. Copy the example settings files available in _development/example-configs_ to 
_sandscape/config_. You should have three files, _main.php_, _params.php_ and 
_console.php_. Copy the example _htaccess.example_ file to the _www_ folder and name 
it _.htaccess_, please note the initial dot in the file name, it is important.

5. Create the database using the provided SQL files and insert a new 
user, manually, in the database and make sure that user is an administrator. 
Remember that the password is an SHA1 hash created by appending the hash 
sentence from _params.php_ to the password.

Version history
---------------

There are no public versions so far. Every version listed here was an internal 
version that was tagged but no release file was created.

1.5, March of the Bones
1.4, Serenity
1.3, Soulharvester
1.2, Elvish Shaman
1.1, Green Shield
1.0, Sudden Growth
0, Elvish Scout
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.