{% extends "main.html" %}
{% load i18n %}
{% load staticfiles %}
{% block rules_selected %}selected{% endblock %}
{% block title %}{% trans "Rules to become the Gamesmaster" %}{% endblock %}
{% block content %}
What are the rules?
We have a “big” tic-tac-toe board with a “small” tic-tac-toe board in each
cell. Your goal is to win the big board by winning small ones.
You may only play in the big field that corresponds to the last small field
your opponent played. When you are sent to a field that is already
won/lost/draw, you can place the move wherever you like.
For example, here is a game where O wins, because X makes an error:
What should I deliver?
You write a Lua function that takes 4 arguments (xo, board, row, col) and
returns the coordinates of where to place your move. You can find an example
solution in the tictactoe
library repository. This example is what you are competing against;
if you win, you get a cap!
What if I cheat?
Since all the activities are logged, and the contest is quite small, we’ll most
likely discover your cheating. This will, without exception, spell misery for
you, your family, your friends, and your pets, from the moment of your
discovery until the moment of your demise. In short: don’t cheat. You don’t
want to cheat. However, if you feel like doing systems penetration or enjoy
hacking systems, we have something for you too!
If you manage to get out of the sandbox, irrecoverably bring down the system,
read others’ code or influence the result unfairly, we’ll award you with
another Spil Games cap. Since this is not meant to be a security contest (the
prizes would be much better if it were), a hostile environment is available for
scratching your itch if you have one, and earning an extra cap for doing so.
The environment is here: http://hostile.tictactoe.spilgames.com/
If you achieve this successfully you qualify for a ‘penetration prize’. Just
make sure you report your achievement and your method to
motiejus.jakstys@spilgames.com.
Be friendly to others, and good luck coding! :-)
Time and memory Restrictions
As of writing, contestants' code is restricted to 128MB and 10 seconds for a
single game (subject to change). We assume you will never practically hit this
constraint, but the restriction is necessary to keep the server running. If you
hit this restriction, your program is likely buggy. Since time and memory
restriction is shared for both players, we understand it is theoretically
possible to do memory/timing attacks and unfairly win. These kind of wins do
not count; it is easier to create a real solution to win the Spil cap; but the
Gamesmaster code will be checked manually before the closing ceremony. Also,
obvious timing and memory attacks do not count as an "extra cap" in the hostile
environment.
Small print
We have stocked:
30 Spil Games summer caps (qualification) First come first serve;
Be sure to catch me as soon as you pass the qualification.
5 T-shirts (for the Gamesmaster). We are sorry about the unfortunate
misfit, but only L sizes will be available.