Skip to content

Commit b16c152

Browse files
committed
Populate with current state of client
1 parent 1f699b5 commit b16c152

File tree

126 files changed

+65935
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+65935
-3
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/sprites/
2+
/audio/

.htaccess

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# -FrontPage-
2+
3+
#IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
4+
5+
<Limit GET POST>
6+
order deny,allow
7+
deny from all
8+
allow from all
9+
</Limit>
10+
<Limit PUT DELETE>
11+
order deny,allow
12+
deny from all
13+
</Limit>
14+
15+
AddType text/plain .phps
16+
AddType application/x-tgz .tgz
17+
AddType application/x-chrome-extension .crx
18+
AddType application/x-web-app-manifest+json .webapp
19+
20+
<IfModule mod_rewrite.c>
21+
RewriteEngine on
22+
23+
RewriteCond %{HTTP_HOST} ^www\.play\.pokemonshowdown\.com$ [NC]
24+
RewriteRule ^(.*)$ http://play.pokemonshowdown.com/$1 [R=301,L]
25+
26+
RewriteRule ^$ /lobby [R=301,L]
27+
RewriteRule ^topsekritsim\.php$ /lobby [R=301,L]
28+
RewriteRule ^topsekrit3\.php$ /lobby [R=301,L]
29+
RewriteRule ^temporary508\.php$ /lobby [R=301,L]
30+
RewriteRule ^temporary508\.php$ /lobby [R=301,L]
31+
RewriteRule ^sim\.php$ /lobby [R=301,L]
32+
33+
#RewriteRule ^([A-Za-z0-9-]*)$ closed.php [L,QSA]
34+
35+
RewriteRule ^(teambuilder|ladder|lobby|battle)/?$ index.php [L,QSA]
36+
RewriteRule ^(lobby|battle)-([A-Za-z0-9-]*)$ index.php [L,QSA]
37+
38+
RewriteRule ^replay/battle-([A-Za-z0-9-]+)$ http://pokemonshowdown.com/replay/$1 [R=302,L]
39+
RewriteRule ^replay/turn_(.+)\.png$ replay/turn-image.php?data=$1 [L,QSA]
40+
41+
RewriteRule ^~~([^/]*)/?$ /~~$1/lobby [R=301,L]
42+
RewriteRule ^~~([^/]*)/(teambuilder|ladder|lobby|battle)/?$ index.php?server=$1 [L,QSA]
43+
RewriteRule ^~~([^/]*)/(lobby|battle)-([A-Za-z0-9-]*)$ index.php?server=$1 [L,QSA]
44+
45+
</IfModule>

README.md

+34-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,35 @@
1-
Pokemon-Showdown-Client
2-
=======================
1+
Pokemon Showdown Client
2+
========================================================================
33

4-
The client for Pokemon Showdown
4+
This is a repository for some of the client code for Pokemon Showdown.
5+
6+
This is what runs `play.pokemonshowdown.com`.
7+
8+
WARNING: You probably want the [Pokemon Showdown server][1].
9+
10+
[1]: https://github.com/Zarel/Pokemon-Showdown
11+
12+
Setup
13+
------------------------------------------------------------------------
14+
15+
This repository is not "batteries included". It does NOT include everything
16+
necessary to run a Pokemon Showdown client.
17+
18+
In particular, it doesn't include a login/authentication server, nor does it
19+
include the database abstraction library used by the ladder library (although
20+
it's similar enough to `mysqli` that you can use that with minimal changes).
21+
22+
It also doesn't include several resource files (namely, the `/audio/` and
23+
`/sprites/` directories) for size reasons.
24+
25+
In other words, this repository is incomplete and NOT intended for people
26+
who wish to serve their own Pokemon Showdown client (you can, but it'll
27+
require you to rewrite some things). Rather, it's intended for people who
28+
wish to contribute and submit pull requests to Pokemon Showdown's client.
29+
30+
License
31+
------------------------------------------------------------------------
32+
33+
Pokemon Showdown's client is distributed under the terms of the [AGPLv3][2].
34+
35+
[2]: http://www.gnu.org/licenses/agpl-3.0.html

0 commit comments

Comments
 (0)