Go to file
Gnieark b629a4755d CSS on players bots
To do next: condtionals show hide elems
2017-02-09 19:24:18 +01:00
dockerConfig Docker config to host botsarena on a container 2017-02-01 19:04:40 +01:00
html CSS on players bots 2017-02-09 19:24:18 +01:00
lang Less data on each query 2016-09-27 18:54:42 +02:00
src Docker config to host botsarena on a container 2017-02-01 19:04:40 +01:00
.gitignore Less data on each query 2016-09-27 18:54:42 +02:00
.gitmodules Less data on each query 2016-09-27 18:54:42 +02:00
countBattles.txt CURLOPT_CONNECTTIMEOUT is not same as CURLOPT_TIMEOUT 2016-12-12 20:09:39 +01:00
Dockerfile oups 2017-02-02 17:54:49 +01:00
install.sql Docker config to host botsarena on a container 2017-02-01 19:04:40 +01:00
LICENSE Less data on each query 2016-09-27 18:54:42 +02:00
Makefile Less data on each query 2016-09-27 18:54:42 +02:00
README.md fix README.md 2017-02-08 18:41:26 +01:00

botsArena

Source code of bot's Arena

It's a website for programming AI challenges. Everyone can read a game's specifications. Program a bot for play to it. Host the bot and register on bot's Arena.

image

Still in dev

Contribute

You are welcome, Make pull requests on branch dev. Im available on twitter @gnieark in order to talk.

install it

I'd better like you to help me to improve bot's Arena, and you to make your own bots to play challenges. It would be more funny having lot of bots in one arena rather than lot of arenas.

See dockerFile and associated scripts to understand what is needed.

To test an image of bots arena with docker:

make
docker build .
docker run --name hey -p 127.0.0.1:8080:80 DockerImageId

For nginx Rewrite rules in server directive are:

rewrite '^/([a-zA-Z]{1,})/doc-([a-z]{2})$' /index.php?doc=$1&lang=$2 last;
rewrite '^/p/([a-zA-Z]{1,})/(.*)-([a-z]{2})$' /index.php?page=$1&params=$2&lang=$3 last;        
rewrite '^/p/([a-zA-Z]{1,})/(.*)$' /index.php?page=$1&params=$2 last;
rewrite '^/p/(.*)-([a-z]{2})$' /index.php?page=$1&lang=$2 last;
rewrite '^/p/(.*)$' /index.php?page=$1 last;
rewrite '^/([a-zA-Z]{1,})/scores$' /index.php?scores=$1 last;
rewrite '^/([a-zA-Z]{1,})-([a-z]{2})$' /index.php?arena=$1&lang=$2 last;
rewrite '^/([a-zA-Z]{1,})/doc$' /index.php?doc=$1 last;
rewrite '^/([a-zA-Z]{1,})$' /index.php?arena=$1 last;

License

Bot's Arena , Website for Artificials intelligences duels.

Copyright (C) 2015-2016 Gnieark

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.